Crate astrotime

Crate astrotime 

Source
Expand description

astrotime

Time related types for scientific and astronomical usage.

Structs§

DateTime
A calendar date and time, with attosecond precision, representing the time elapsed since the start of the Common Era in a traditional way according to a particular time Standard.
Duration
Duration is an interval of time
Gregorian
Instant
An Instant is a precise moment in time according to a particular time Standard.
Julian
Tai
International Atomic Time
Tcb
Barycentric Coordinate Time
Tcg
Geocentric Coordinate Time
Tt
Terrestrial Time
Utc
Universal Coordinated Time

Enums§

Epoch
A reference for a well known Instant in time, used for offsetting events from.
Error
Error type for the crate

Traits§

Calendar
This specifies traditional Calendar settings that use the traditional 12 months and have leap years. This is implemented for Gregorian and Julian. It does not handle more esoteric calendars.
Standard
A standard of time