rapport-temporal 0.2.1

Deal with time without all the fuss. Includes date, time, recurrence, and language-oriented date math.
Documentation

rapport-temporal

Deal with time without all the fuss. chrono is a great crate but it makes you be a nerd about all the edge cases for date management, which gets in the way of someone writing a business/user-facing application that doesn't take the heat death of the universe into account.

We won't worry about what happens after the sun dies, we'll get stuff done here.

Installation

Add this to your Cargo.toml:

rapport-temporal = "0.1.0"

Usage

use rapport_temporal::date::Date;
use rapport_temporal::recurrence::RecurrenceRule;

let today = Date::today();
let rule = RecurrenceRule::parse("weekly on monday", today).unwrap();
let next_monday = rule.next_occurrence_after(today);

License

Licensed under either of:

at your option.