LocalUtcOffsetProvider
type alias · ferroui-base · v0.5.0
type LocalUtcOffsetProvider = std::rc::Rc<dyn Fn(std::time::SystemTime) -> crate::animation::SignedDuration>
Gives the offset of local time from UTC at an instant.
Since 0.5 the provider takes a SystemTime, where it took a DateTime
of kind UTC: a provider that works on dates converts the instant with
DateTime::try_from.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.