Available on crate features
formatting
or parsing
only.Expand description
Various modifiers for components.
Structs§
- Day
- Day of the month.
- End
- The end of input.
- Hour
- Hour of the day.
- Ignore
- Ignore some number of bytes.
- Minute
- Minute within the hour.
- Month
- Month of the year.
- Offset
Hour - Hour of the UTC offset.
- Offset
Minute - Minute within the hour of the UTC offset.
- Offset
Second - Second within the minute of the UTC offset.
- Ordinal
- Ordinal day of the year.
- Period
- AM/PM part of the time.
- Second
- Second within the minute.
- Subsecond
- Subsecond within the second.
- Unix
Timestamp - A Unix timestamp.
- Week
Number - Week within the year.
- Weekday
- Day of the week.
- Year
- Year of the date.
Enums§
- Month
Repr - The representation of a month.
- Padding
- Type of padding to ensure a minimum width.
- Subsecond
Digits - The number of digits present in a subsecond representation.
- Unix
Timestamp Precision - The precision of a Unix timestamp.
- Week
Number Repr - The representation used for the week number.
- Weekday
Repr - The representation used for the day of the week.
- Year
Range - The range of years that are supported.
- Year
Repr - The representation used for a year value.