Crate datetimeparse

Source
Expand description

§datetimeparse

Correct ISO 8601 and RFC3999 parsing and formatting.

§Features

  • chrono - Enable chrono conversion

Modules§

duration
Durations from ISO 8601, chapter 4.3

Structs§

Builder
Day
Day of the month (1-31)
Error
ExtendedYear
Hour
Hours (0-60)
LocalDate
Date without time shift information
LocalDateTime
Date and time without time shift information
LocalTime
Time without time shift information
Minute
Minutes (0-60)
Month
Month of the year (1-12)
Nanosecond
Used in combination with Second to signify subsecond fractions
PreciseLocalDateTime
Date and time without time shift information, with nanosecond precision
PreciseLocalTime
Time without time shift information, with nanosecond precision
PreciseShiftedDateTime
Date and with time shift information, with nanosecond precision
Second
Seconds (0-61)
ShiftedDateTime
Date and time with time shift information
Year

Enums§

ErrorKind

Functions§

parse_rfc3339_date
Parse a RFC3339 formatted date string.
parse_rfc3339_datetime
Parse a RFC3339 formatted datetime string.
parse_rfc3339_time
Parse a RFC3339 formatted time string.