Expand description
Calendar constants and helpers.
Constants§
- DAYS_
PER_ MONTH - NS_DAY
- NS_HOUR
- NS_
MICROSECOND - nanoseconds per unit
- NS_
MILLISECOND - NS_
MINUTE - NS_
SECOND - NS_WEEK
- NTE_
NS_ DAY - Not-to-exceed (NTE) nanoseconds per unit, accounting for DST. This is an upper bound. Leap seconds do not matter for correctness.
- NTE_
NS_ WEEK
Functions§
- days_
in_ month - Get the number of days in the given month of the given year
- is_
leap_ year