Enum iso_8601::Date[][src]

pub enum Date<Y: Year = i16> {
    YMD(YmdDate<Y>),
    WD(WdDate<Y>),
    O(ODate<Y>),
}

Complete date representations

Variants

Trait Implementations

impl<Y: Eq + Year> Eq for Date<Y>
[src]

impl<Y: PartialEq + Year> PartialEq for Date<Y>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<Y: Clone + Year> Clone for Date<Y>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Y: Debug + Year> Debug for Date<Y>
[src]

Formats the value using the given formatter. Read more

impl<Y: Year> Datelike<Y> for Date<Y>
[src]

impl FromStr for Date
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl<Y> Valid for Date<Y> where
    Y: Year + Clone
[src]

impl<Y> From<Date<Y>> for ApproxDate<Y> where
    Y: Year
[src]

Performs the conversion.

impl<Y> From<Date<Y>> for YmdDate<Y> where
    Y: Year,
    ODate<Y>: From<WdDate<Y>>, 
[src]

Performs the conversion.

impl<Y> From<Date<Y>> for WdDate<Y> where
    Y: Year,
    WdDate<Y>: From<ODate<Y>>,
    ODate<Y>: From<WdDate<Y>>, 
[src]

Performs the conversion.

impl<Y> From<Date<Y>> for ODate<Y> where
    Y: Year,
    ODate<Y>: From<WdDate<Y>>, 
[src]

Performs the conversion.

Auto Trait Implementations

impl<Y> Send for Date<Y> where
    Y: Send

impl<Y> Sync for Date<Y> where
    Y: Sync