Expand description
astrotime
Time related types for scientific and astronomical usage.
Structs§
- Date
Time - 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
Instantis a precise moment in time. - Julian
- Tai
- International Atomic Time (TAI)
- Tcg
- Geocentric Coordinate Time (TCG)
- Tt
- Terrestrial Time (TT)
- Utc
- Universal Coordinated Time (UTC)
Enums§
- Epoch
- A reference for a well known
Instantin time, used for offsetting events from. - Error
- Error type for the crate
Constants§
Traits§
- Calendar
- This specifies traditional Calendar settings that use the traditional 12 months
and have leap years. This is implemented for
GregorianandJulian. It does not handle more esoteric calendars. - Standard
- A standard of time
Functions§
- leap_
instants - This returns the
Instants directly after leap seconds. - leap_
seconds_ elapsed_ at - This counts how many leap seconds have elapsed at a given instant.