Macros§
Structs§
- Nudge 🔒The result of a span rounding strategy. There are three:
- A wrapper around a civil datetime and a timestamp corresponding to that civil datetime in UTC.
- A balanced span between a range of civil or zoned datetimes.
- A simple wrapper around a possibly borrowed
Zoned
. - A span of time represented via a mixture of calendar and clock units.
- Options for
Span::checked_add
andSpan::checked_sub
. - Options for
Span::compare
. - A relative datetime for use with
Span
APIs. - Options for
Span::round
. - Options for
Span::total
. - UnitSet 🔒A bit set that keeps track of all non-zero units on a
Span
.
Enums§
- Relative 🔒An internal abstraction for managing a relative datetime for use in some
Span
APIs. - A civil or zoned datetime range of time.
- A way to refer to a single calendar or clock unit.
Traits§
- A trait for enabling concise literals for creating
Span
values.
Functions§
- Returns the nanosecond timestamps of
relative + span
andrelative + {amount of unit} + span
. - A common parsing function that works in bytes.
- Rounds a span consisting of only invariant units.