Available on crate feature
parsing only.Expand description
Parsing implementations for all Components.
Functionsยง
- parse_
calendar_ ๐year_ century_ extended_ range - Parse all digits of the calendar-based year except the last two.
- parse_
calendar_ ๐year_ century_ standard_ range - Parse all digits of the calendar-based year except the last two.
- parse_
calendar_ ๐year_ full_ extended_ range - Parse the full calendar-based year.
- parse_
calendar_ ๐year_ full_ standard_ range - Parse the full calendar-based year.
- parse_
calendar_ ๐year_ last_ two - Parse the last two digits of the calendar-based year.
- parse_
day ๐ - Parse the โdayโ component of a
Date. - parse_
end ๐ - Parse the
endcomponent, which represents the end of input. If any input is remaining and trailing input is prohibited,Noneis returned. If trailing input is permitted, it is discarded. - parse_
hour_ ๐12 - Parse the โhourโ component of a
Timein the 12-hour format. - parse_
hour_ ๐24 - Parse the โhourโ component of a
Timein the 24-hour format. - parse_
ignore ๐ - Ignore the given number of bytes.
- parse_
iso_ ๐year_ century_ extended_ range - Parse all digits of the ISO week-based year except the last two.
- parse_
iso_ ๐year_ century_ standard_ range - Parse all digits of the ISO week-based year except the last two.
- parse_
iso_ ๐year_ full_ extended_ range - Parse the full ISO-week based year.
- parse_
iso_ ๐year_ full_ standard_ range - Parse the full ISO-week based year.
- parse_
iso_ ๐year_ last_ two - Parse the last two digits of the ISO week-based year.
- parse_
minute ๐ - Parse the โminuteโ component of a
Time. - parse_
month_ ๐long - Parse the โmonthโ component of a
Datein the long form (e.g. โJanuaryโ). - parse_
month_ ๐numerical - Parse the โmonthโ component of a
Datein the numerical format (e.g. โ1โ for January). - parse_
month_ ๐short - Parse the โmonthโ component of a
Datein the abbreviated form (e.g. โJanโ). - 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_ microsecond - Parse the Unix timestamp component with microsecond precision, returning the value in nanoseconds.
- parse_
unix_ ๐timestamp_ millisecond - Parse the Unix timestamp component with millisecond precision, returning the value in nanoseconds.
- parse_
unix_ ๐timestamp_ nanosecond - Parse the Unix timestamp component with nanosecond precision.
- parse_
unix_ ๐timestamp_ second - Parse the Unix timestamp component with second precision, returning the value in nanoseconds.
- parse_
week_ ๐number_ iso - Parse the โweek numberโ component of a
Date, where week 1 starts on the last Monday on or before January 4. - parse_
week_ ๐number_ monday - Parse the โweek numberโ component of a
Date, where week 1 starts on the first Monday of the year. - parse_
week_ ๐number_ sunday - Parse the โweek numberโ component of a
Date, where week 1 starts on the first Sunday of the year. - parse_
weekday_ ๐long - Parse the โweekdayโ component of a
Datein the long form (e.g. โMondayโ). - parse_
weekday_ ๐monday - Parse the weekday component of a
Datein the numerical format, where Monday is the first day of the week.` - parse_
weekday_ ๐short - Parse the โweekdayโ component of a
Datein the abbreviated form (e.g. โMonโ). - parse_
weekday_ ๐sunday - Parse the weekday component of a
Datein the numerical format, where Sunday is the first day of the week.` - parse_
year ๐ - Parse the โyearโ component of a
Date.