Module hifitime::instant [] [src]

The instant module is built on top of std::time::Duration. It is the basis of almost all computations in this library. It is the only common denominator allowing for conversions between Time Systems.

Structs

Duration

A Duration type to represent a span of time, typically used for system timeouts.

Instant

An Instant type represents an instant with respect to 01 Jan 1900 at midnight, as per the International Atomic Time (TAI) system.

Enums

Era

An Era represents whether the associated Instant is before the TAI Epoch (01 Jan 1900, midnight) or afterwards. If it is before, than it's refered to as "Past", otherwise is in the "Present" era.