pub trait Date { // Required methods fn year(&self) -> Option<u16>; fn month(&self) -> Option<u8>; fn day(&self) -> Option<u8>; }
Represents the Temporenc “Date” component.
If present, the year. In range [0, 4094].
If present, the month. In range [1, 12].
If present, the day. In range [1, 31].