Structs§
- Duration
- The duration which is returned by the parser
- Multiplier
- The multiplier of a
TimeUnit.
Enums§
- Time
Unit - The time units used to define possible time units in the input string
Constants§
- DEFAULT_
ID_ DAY - The default identifier of
TimeUnit::Day - DEFAULT_
ID_ HOUR - The default identifier of
TimeUnit::Hour - DEFAULT_
ID_ MICRO_ SECOND - The default identifier of
TimeUnit::MicroSecond - DEFAULT_
ID_ MILLI_ SECOND - The default identifier of
TimeUnit::MicroSecond - DEFAULT_
ID_ MINUTE - The default identifier of
TimeUnit::Minute - DEFAULT_
ID_ MONTH - The default identifier of
TimeUnit::Month - DEFAULT_
ID_ NANO_ SECOND - The default identifier of
TimeUnit::NanoSecond - DEFAULT_
ID_ SECOND - The default identifier of
TimeUnit::Second - DEFAULT_
ID_ WEEK - The default identifier of
TimeUnit::Week - DEFAULT_
ID_ YEAR - The default identifier of
TimeUnit::Year
Traits§
- Saturating
Into - Conversion which saturates at the maximum or maximum instead of overflowing
- Time
Units Like - To be able to use the basic
crate::parse::Parserthis trait needs to be implemented