Trait temporenc::Time [] [src]

pub trait Time {
    fn hour(&self) -> Option<u8>;
    fn minute(&self) -> Option<u8>;
    fn second(&self) -> Option<u8>;
}

Represents the Temporenc "Time" component.

Required Methods

If present, the number of hours. In range [0, 23].

If present, the number of minutes. In range [0, 59].

If present, the number of seconds. In range [0, 60].

Implementors