Expand description
holding_kronos: The fantasy datetime crate.
As it is built for macro-level management, this library uses seconds as the fundamental unit of time.
It also assumes a basic gregorian calendar with a year split up into months, and days organised into weeks.
Structsยง
- Calendar
- Allows manipulation of dates.
- Calendar
Date Time - Allows you to do calendar-aware manipulation
of the
DateTime. - Date
Time - DateTime is a position in time relative to an era in a given calendar.
- Era
- An era is a contiguous block of time in a calendar from which time can be referenced. Multiple eras can exist (and overlap) simultaneously, making it a very flexible tool for spacing out chunks of time such as reigning monarchs, or warring gods.