Date

Trait Date 

Source
pub trait Date {
    // Required methods
    fn year(&self) -> Option<u16>;
    fn month(&self) -> Option<u8>;
    fn day(&self) -> Option<u8>;
}
Expand description

Represents the Temporenc “Date” component.

Required Methods§

Source

fn year(&self) -> Option<u16>

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

Source

fn month(&self) -> Option<u8>

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

Source

fn day(&self) -> Option<u8>

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

Implementors§