Trait icu_datetime::date::IsoTimeInput[][src]

pub trait IsoTimeInput {
    fn hour(&self) -> Option<IsoHour>;
fn minute(&self) -> Option<IsoMinute>;
fn second(&self) -> Option<IsoSecond>;
fn fraction(&self) -> Option<FractionalSecond>; }

Representation of a time of day according to ISO-8601 conventions. Always indexed from midnight, regardless of calendar system.

All fields are optional. If a field is not present but is required when formatting, an error result will be returned from the formatter.

All data represented in IsoTimeInput should be locale-agnostic.

Required methods

fn hour(&self) -> Option<IsoHour>[src]

Gets the hour input.

fn minute(&self) -> Option<IsoMinute>[src]

Gets the minute input.

fn second(&self) -> Option<IsoSecond>[src]

Gets the second input.

fn fraction(&self) -> Option<FractionalSecond>[src]

Gets the fractional second input.

Loading content...

Implementors

Loading content...