Trait temporenc::Date [] [src]

pub trait Date {
    fn year(&self) -> Option<u16>;
    fn month(&self) -> Option<u8>;
    fn day(&self) -> Option<u8>;
}

Represents the Temporenc "Date" component.

Required Methods

If present, the year. In range [0, 4094].

If present, the month. In range [1, 12].

If present, the day. In range [1, 31].

Implementors