rs-time-date 0.1.0
Civil dates, weekdays, month arithmetic and ISO 8601, with no time zone database
Install
cargo add rs-time-date --registry rupm
In Ruststudio: Packages, search for rs-time-date, Install.
Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-23.
Versions
- 0.1.0 2026-11-23
README
# rs-time-date
Civil dates, weekdays, month arithmetic and ISO 8601, with no time zone database
Add it with `rupm add rs-time-date` (or `cargo add rs-time-date --registry rupm`).
```rust
let d = rs_time_date::Date::parse_iso("2024-01-31")?;
assert_eq!(d.add_months(1)?.to_iso(), "2024-02-29");
assert_eq!(d.weekday(), rs_time_date::Weekday::Wednesday);
```