time::parsing

Module component

Source
Available on crate feature parsing only.
Expand description

Parsing implementations for all Components.

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.
  • Ignore the given number of bytes.
  • Parse the “minute” component of a Time.
  • Parse the “month” component of a Date.
  • Parse the “hour” component of a UtcOffset.
  • Parse the “minute” component of a UtcOffset.
  • Parse the “second” component of a UtcOffset.
  • Parse the “ordinal” component of a Date.
  • Parse the “period” component of a Time. Required if the hour is on a 12-hour clock.
  • Parse the “second” component of a Time.
  • Parse the “subsecond” component of a Time.
  • Parse the Unix timestamp component.
  • Parse the “week number” component of a Date.
  • Parse the “weekday” component of a Date.
  • parse_year 🔒
    Parse the “year” component of a Date.