Expand description
Time-related functions.
Structs§
- Formatted
Timestamp - A
Timestampto be written in aTimestampFormat, returned byTimestamp::format. - Time
Zone - A time zone, for writing a
Timestampas local time. - Timestamp
- A point in time, with nanosecond precision.
Enums§
- Timestamp
Format - A format for writing a
Timestamp.
Functions§
- get_
coarse_ unix_ timestamp - Get the current coarse Unix timestamp, in seconds.
- get_
unix_ timestamp - Get the current Unix timestamp, in seconds.
- get_
unix_ timestamp_ nanos - Get the current Unix timestamp, in nanoseconds.
- parse_
compact_ utc_ nanos - Parses a timestamp written in
TimestampFormat::CompactUtcNanosinto nanoseconds since the Unix epoch.