Chronology is an attempt to build a better date and time API for Swift on top of the constructs provided by Foundation.
For more information, please see the wiki:
- An
Instantrepresents a singular point in time, independent of any calendaring system. - A
Clocklets you get the currentInstant, but can also give you calendrical representations. - A
Value<...>represents a calendrical value, such as "October 6, 2019". Valuehas a whole bunch of methods to perform "adjustments", such as finding the next largest/smallest value, etcValuealso has methods to do type-safe formatting.