Expand description
Query-level datetime operators over the canonical Chrono-backed type
implementation in rushdb-types.
Functionsยง
- component_
of - Extract one calendar component (
which: 0=year .. 6=millisecond) from an epoch-millisecond timestamp. - components_
to_ epoch_ ms - Build an epoch-millisecond timestamp from calendar components.
- parse_
components - Parse a
{$year, $month, ...}component object into epoch milliseconds, orNonewhen required components are missing or out of range. - parse_
iso_ 8601 - Parse an ISO-8601 datetime string into epoch milliseconds, or
Nonewhen the input is not a valid datetime. - year_
end - Epoch milliseconds at the start of the year after
year(exclusive end). - year_
start - Epoch milliseconds at the start of
year(January 1st, 00:00:00.000).