Module chrono::time_delta

source ยท
Expand description

Temporal quantification

Structsยง

  • Represents error when converting TimeDelta to/from a standard library implementation
  • Time duration with nanosecond precision.

Constantsยง

  • MAX ๐Ÿ”’
    The maximum possible TimeDelta: i64::MAX milliseconds.
  • MICROS_PER_SEC ๐Ÿ”’
    The number of microseconds per second.
  • MILLIS_PER_SEC ๐Ÿ”’
    The number of milliseconds per second.
  • MIN ๐Ÿ”’
    The minimum possible TimeDelta: -i64::MAX milliseconds.
  • NANOS_PER_MICRO ๐Ÿ”’
    The number of nanoseconds in a microsecond.
  • NANOS_PER_MILLI ๐Ÿ”’
    The number of nanoseconds in a millisecond.
  • NANOS_PER_SEC ๐Ÿ”’
    The number of nanoseconds in seconds.
  • SECS_PER_DAY ๐Ÿ”’
    The number of (non-leap) seconds in days.
  • SECS_PER_HOUR ๐Ÿ”’
    The number of seconds in an hour.
  • SECS_PER_MINUTE ๐Ÿ”’
    The number of seconds in a minute.
  • SECS_PER_WEEK ๐Ÿ”’
    The number of (non-leap) seconds in a week.

Functionsยง