Module temporal

Source

Constants§

EPOCH_DAYS_FROM_CE
Number of days between 0001-01-01 and 1970-01-01
MICROSECONDS
Number of microseconds in a second
MICROSECONDS_IN_DAY
Number of microseconds in a day
MILLISECONDS
Number of milliseconds in a second
MILLISECONDS_IN_DAY
Number of milliseconds in a day
NANOSECONDS
Number of nanoseconds in a second
NANOSECONDS_IN_DAY
Number of nanoseconds in a day
SECONDS_IN_DAY
Number of seconds in a day

Functions§

time_unit_multiple
Get the time unit as a multiple of a second
utf8_to_naive_timestamp_scalar
Parses value to Option<i64> consistent with the Arrow’s definition of timestamp without timezone. Returns in scale tz of TimeUnit.
utf8_to_timestamp_scalar
Parses value to Option<i64> consistent with the Arrow’s definition of timestamp with timezone.