Expand description
Temporal types for Logicaffeine. The date, moment, time-of-day and calendar span values are
logicaffeine-data’s (logicaffeine_data::temporal), where every value model reaches them, re-exported
here beside what only a system has: the clock, and how Show prints them.
Structs§
- Logos
Date - Date stored as days since Unix epoch (1970-01-01).
- Logos
Moment - Moment stored as nanoseconds since Unix epoch.
- Logos
Span - Calendar span with separate month and day components.
- Logos
Time - Time-of-day stored as nanoseconds from midnight — the wall-clock face of a
Moment, with no date or zone. RendersHH:MM:SS[.frac], lossless to the nanosecond (the AOT mirror of the interpreter’sTime).
Functions§
- current_
moment - The instant the system clock reads now.