Skip to main content

Module time

Module time 

Source
Expand description

Timestamps, fixed-offset time zones and calendar helpers for time axes.

Structs§

DateTime
A broken-down local date and time.

Enums§

TimeZone
The time zone used for axis labels and tick alignment.

Constants§

DAY
One day in milliseconds.
HOUR
One hour in milliseconds.
MINUTE
One minute in milliseconds.
SECOND
One second in milliseconds.

Functions§

civil_from_days
The proleptic Gregorian date (year, month, day) of a day count since 1970-01-01.
days_from_civil
Days since 1970-01-01 for a proleptic Gregorian date.

Type Aliases§

Timestamp
Milliseconds since the Unix epoch (1970-01-01T00:00:00Z).