Module nyx_space::time

source ·
Expand description

Re-export of hifitime

Modules

Structs

  • Defines generally usable durations for nanosecond precision valid for 32,768 centuries in either direction, and only on 80 bits / 10 octets.
  • Defines an Epoch in TAI (temps atomique international) in seconds past 1900 January 01 at midnight (like the Network Time Protocol).
  • An iterator of a sequence of evenly spaced Epochs.

Enums

  • Errors handles all oddities which may occur in this library.
  • An Enum to convert frequencies to their approximate duration, rounded to the closest nanosecond.
  • Enum of the different time systems available

Constants

Traits

  • A trait to automatically convert some primitives to an approximate frequency as a duration, rounded to the closest nanosecond Does not support more than 1 GHz (because max precision of a duration is 1 nanosecond)
  • A trait to automatically convert some primitives to a duration

Functions

  • Returns true if the provided Gregorian date is valid. Leap second days may have 60 seconds.