Trait icu::timezone::TimeZoneModel

source ·
pub trait TimeZoneModel: Sealed {
    type ZoneVariant: IntoOption<ZoneVariant> + Debug + Copy;
    type LocalTime: IntoOption<(Date<Iso>, Time)> + Debug + Copy;
}
Expand description

Trait encoding a particular data model for time zones.

Required Associated Types§

source

type ZoneVariant: IntoOption<ZoneVariant> + Debug + Copy

The zone variant, if required for this time zone model.

source

type LocalTime: IntoOption<(Date<Iso>, Time)> + Debug + Copy

The local time, if required for this time zone model.

Implementors§