Crate iso8601 [] [src]

ISO8601 is a parser library for the ISO8601 format and partially RFC3339.

Validity of a given date is not guaranteed, this parser will happily parse "2015-02-29" as a valid date, even though 2015 was no leap year.

Example

let datetime = iso8601::datetime("2015-06-26T16:43:23+0200").unwrap();

Modules

parsers

This module is strictly internal.

Structs

DateTime

Compound struct, hold Date and Time

Time

A time object

Enums

Date

A date, can hold three different formats.

Functions

date

Parses a date string.

datetime

This parses a datetime string.

time

Parses a time string.