Available on crate feature
parsing
only.Expand description
Parsing implementations for all Component
s.
Enums§
- Period 🔒
- Indicate whether the hour is “am” or “pm”.
Functions§
- parse_
day 🔒 - Parse the “day” component of a
Date
. - parse_
end 🔒 - Parse the
end
component, which represents the end of input. If any input is remaining,None
is returned. - parse_
hour 🔒 - Parse the “hour” component of a
Time
. - parse_
ignore 🔒 - Ignore the given number of bytes.
- parse_
minute 🔒 - Parse the “minute” component of a
Time
. - parse_
month 🔒 - Parse the “month” component of a
Date
. - parse_
offset_ 🔒hour - Parse the “hour” component of a
UtcOffset
. - parse_
offset_ 🔒minute - Parse the “minute” component of a
UtcOffset
. - parse_
offset_ 🔒second - Parse the “second” component of a
UtcOffset
. - parse_
ordinal 🔒 - Parse the “ordinal” component of a
Date
. - parse_
period 🔒 - Parse the “period” component of a
Time
. Required if the hour is on a 12-hour clock. - parse_
second 🔒 - Parse the “second” component of a
Time
. - parse_
subsecond 🔒 - Parse the “subsecond” component of a
Time
. - parse_
unix_ 🔒timestamp - Parse the Unix timestamp component.
- parse_
week_ 🔒number - Parse the “week number” component of a
Date
. - parse_
weekday 🔒 - Parse the “weekday” component of a
Date
. - parse_
year 🔒 - Parse the “year” component of a
Date
.