Structsยง
- Constant ๐
- A constant value for use in arithmetic in this crate.
Constantsยง
- DAYS_
PER_ ๐CIVIL_ WEEK - The number of days in a week.
- HOURS_
PER_ ๐CIVIL_ DAY - The number of whole hours in one day.
- MICROS_
PER_ ๐CIVIL_ DAY - The number of microseconds in a civil day.
- MICROS_
PER_ ๐MILLI - The number of microseconds in a single millisecond.
- MICROS_
PER_ ๐SECOND - The number of microseconds in a single second.
- MILLIS_
PER_ ๐CIVIL_ DAY - The number of microseconds in a civil day.
- MILLIS_
PER_ ๐SECOND - The number of milliseconds in a single second.
- MINUTES_
PER_ ๐CIVIL_ DAY - The number of minutes in a civil day.
- MINUTES_
PER_ ๐HOUR - The number of minutes in an hour.
- MONTHS_
PER_ ๐YEAR - The number of months in a year.
- NANOS_
PER_ ๐CIVIL_ DAY - The number of nanoseconds in a civil day.
- NANOS_
PER_ ๐CIVIL_ WEEK - The number of nanoseconds in a civil week.
- NANOS_
PER_ ๐HOUR - The number of nanoseconds in a single hour.
- NANOS_
PER_ ๐MICRO - The number of nanoseconds in a single microsecond.
- NANOS_
PER_ ๐MILLI - The number of nanoseconds in a single millisecond.
- NANOS_
PER_ ๐MINUTE - The number of nanoseconds in a single minute.
- NANOS_
PER_ ๐SECOND - The number of nanoseconds in a single second.
- SECONDS_
PER_ ๐CIVIL_ DAY - The number of seconds in a civil day.
- SECONDS_
PER_ ๐CIVIL_ WEEK - The number of seconds in a civil week.
- SECONDS_
PER_ ๐HOUR - The number of seconds in a single hour.
- SECONDS_
PER_ ๐MINUTE - The number of seconds in a single minute.
- SPAN_
CIVIL_ ๐SECONDS - The maximum number of seconds that can be expressed with a span.
- SPAN_
ZONE_ ๐OFFSET_ TOTAL_ SECONDS - The max number of seconds that can be expressed in a time zone offset.
Functionsยง
- C ๐
- A short-hand creating a generic
Constant
value as a ranged integer. - C128 ๐
- next_
multiple_ ๐of - Computes the next multiple of
rhs
that is greater than or equal tolhs
. - sign ๐
Type Aliasesยง
- Civil
DayNanosecond ๐ - A range representing each possible nanosecond in a single civil day.
- Civil
DaySecond ๐ - A range representing each possible second in a single civil day.
- Day ๐
- The range of possible day values.
- DayOf
Year ๐ - Fractional
Microsecond ๐ - The range of allowable fractional microseconds.
- Fractional
Millisecond ๐ - The range of allowable fractional milliseconds.
- Fractional
Nanosecond ๐ - The range of allowable fractional nanoseconds.
- Hour ๐
- The range of possible hour values.
- ISOWeek ๐
- ISOYear ๐
- Microsecond ๐
- The range of possible microsecond values.
- Millisecond ๐
- 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.
- Span
Days ๐ - A range of the allowed number of days.
- Span
Hours ๐ - A range of the allowed number of hours.
- Span
Microseconds ๐ - A range of the allowed number of microseconds.
- Span
Milliseconds ๐ - A range of the allowed number of milliseconds.
- Span
Minutes ๐ - A range of the allowed number of minutes.
- Span
Months ๐ - A precise min/max of the allowed range of a duration in months.
- Span
Nanoseconds ๐ - A range of the allowed number of nanoseconds.
- Span
Seconds ๐ - A range of the allowed number of seconds.
- Span
Seconds ๐OrLower - The range of allowable seconds and lower in a span, in units of seconds.
- Span
Seconds ๐OrLower Nanoseconds - The range of allowable seconds and lower in a span, in units of nanoseconds.
- Span
Weeks ๐ - A range of the allowed number of weeks.
- Span
Years ๐ - A precise min/max of the allowed range of a duration in years.
- Span
Zone ๐Offset - The span of seconds permitted for expressing the offset of a time zone.
- Span
Zone ๐Offset Hours - The number of hours allowed in a time zone offset.
- Span
Zone ๐Offset Minutes - The number of minutes allowed in a time zone offset.
- Span
Zone ๐Offset Seconds - The number of seconds allowed in a time zone offset.
- Subsec
Nanosecond ๐ - The range of possible nanosecond values.
- Unix
Epoch ๐Day - The number of days from the Unix epoch for the Gregorian calendar.
- Unix
Microseconds ๐ - Like UnixSeconds, but expressed in units of microseconds.
- Unix
Milliseconds ๐ - Like UnixSeconds, but expressed in units of milliseconds.
- Unix
Nanoseconds ๐ - Like UnixSeconds, but expressed in units of nanoseconds.
- Unix
Seconds ๐ - The range of Unix seconds supported by Jiff.
- WeekNum ๐
- Weekday
One ๐ - The range of a weekday, offset from one.
- Weekday
Zero ๐ - 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.
- Zoned
DayNanoseconds ๐ - The number of nanoseconds permitted in a single day.
- Zoned
DaySeconds ๐ - The number of seconds permitted in a single day.