Skip to main content

Module component

Module component 

Source
Available on crate feature parsing only.
Expand description

Parsing implementations for all Components.

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 and trailing input is prohibited, None is returned. If trailing input is permitted, it is discarded.
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.