jiff::util

Module t

Source

Structs§

  • Constant 🔒
    A constant value for use in arithmetic in this crate.

Constants§

Functions§

  • C 🔒
    A short-hand creating a generic Constant value as a ranged integer.
  • C128 🔒
  • Computes the next multiple of rhs that is greater than or equal to lhs.
  • sign 🔒

Type Aliases§

  • A range representing each possible nanosecond in a single civil day.
  • A range representing each possible second in a single civil day.
  • Day 🔒
    The range of possible day values.
  • DayOfYear 🔒
  • The range of allowable fractional microseconds.
  • The range of allowable fractional milliseconds.
  • The range of allowable fractional nanoseconds.
  • Hour 🔒
    The range of possible hour values.
  • ISOWeek 🔒
  • ISOYear 🔒
  • The range of possible microsecond values.
  • The range of possible millisecond values.
  • Minute 🔒
    The range of possible minute values.
  • Month 🔒
    The range of possible month values.
  • Nanosecond 🔒
    The range of possible nanosecond values.
  • NoUnits 🔒
    A type alias for a ranged integer with no units.
  • NoUnits16 🔒
    A type alias for a ranged 16-bit integer with no units.
  • NoUnits32 🔒
    A type alias for a ranged 32-bit integer with no units.
  • NoUnits96 🔒
    A type alias for a ranged 96-bit integer with no units.
  • NoUnits128 🔒
    A type alias for a ranged 128-bit integer with no units.
  • Second 🔒
    The range of possible second values not accounting for leap seconds.
  • Sign 🔒
    A type alias for the sign of a number.
  • SpanDays 🔒
    A range of the allowed number of days.
  • SpanHours 🔒
    A range of the allowed number of hours.
  • A range of the allowed number of microseconds.
  • A range of the allowed number of milliseconds.
  • A range of the allowed number of minutes.
  • SpanMonths 🔒
    A precise min/max of the allowed range of a duration in months.
  • A range of the allowed number of nanoseconds.
  • A range of the allowed number of seconds.
  • The range of allowable seconds and lower in a span, in units of seconds.
  • The range of allowable seconds and lower in a span, in units of nanoseconds.
  • SpanWeeks 🔒
    A range of the allowed number of weeks.
  • SpanYears 🔒
    A precise min/max of the allowed range of a duration in years.
  • The span of seconds permitted for expressing the offset of a time zone.
  • The number of hours allowed in a time zone offset.
  • The number of minutes allowed in a time zone offset.
  • The number of seconds allowed in a time zone offset.
  • The range of possible nanosecond values.
  • The number of days from the Unix epoch for the Gregorian calendar.
  • Like UnixSeconds, but expressed in units of microseconds.
  • Like UnixSeconds, but expressed in units of milliseconds.
  • Like UnixSeconds, but expressed in units of nanoseconds.
  • The range of Unix seconds supported by Jiff.
  • WeekNum 🔒
  • WeekdayOne 🔒
    The range of a weekday, offset from one.
  • The range of a weekday, offset from zero.
  • Year 🔒
    The range of years supported by jiff.
  • YearBCE 🔒
    The range of BCE years supported by jiff.
  • YearCE 🔒
    The range of CE years supported by jiff.
  • The number of nanoseconds permitted in a single day.
  • The number of seconds permitted in a single day.