I’m working on kairos for some days now and I’m looking for review (API-wise).
The goal of kairos is that you can write “plain-text-like” expressions to calculate times and dates. There are some things I avoid for the sake of API-niceness, so this is not intended to do 100%-accurate time calculations, but rather for writing user-facing APIs/Interfaces.
let days = (today() + days(2)) .weekly() .without(Month::Novemer) .until(year(2020));
would return a iterator which yields days in weekly fashion, starting the day after tomorrow, leaving out November and stops at year 2020. That’s roughly how the interface works/should work.
I also plan on adding a parser frontend, so one can pass actual strings - like user input and such - for doing these calculations.
Feel free to open issues, add tests and start discussion. As said: I do not intend to make this a highly-precise time calculation library, but a simple and convenient API over chrono for user-input.
The project is in very early stage (no release yet). Expect breaking changes and everything - do not use before we release a first version!