pub struct TimeZoneFormatter(pub FixedCalendarDateTimeFormatter<(), ZoneFieldSet>);
Tuple Fields§
§0: FixedCalendarDateTimeFormatter<(), ZoneFieldSet>
Implementations§
Source§impl TimeZoneFormatter
impl TimeZoneFormatter
pub fn create_specific_long( locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn create_specific_long_with_provider( provider: &DataProvider, locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn create_specific_short( locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn create_specific_short_with_provider( provider: &DataProvider, locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn create_localized_offset_long( locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn create_localized_offset_long_with_provider( provider: &DataProvider, locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn create_localized_offset_short( locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn create_localized_offset_short_with_provider( provider: &DataProvider, locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn create_generic_long( locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn create_generic_long_with_provider( provider: &DataProvider, locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn create_generic_short( locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn create_generic_short_with_provider( provider: &DataProvider, locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn create_location( locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn create_location_with_provider( provider: &DataProvider, locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn create_exemplar_city( locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn create_exemplar_city_with_provider( provider: &DataProvider, locale: &Locale, ) -> Result<Box<Self>, DateTimeFormatterLoadError>
pub fn format( &self, zone: &TimeZoneInfo, write: &mut DiplomatWrite, ) -> Result<(), DateTimeWriteError>
Auto Trait Implementations§
impl Freeze for TimeZoneFormatter
impl RefUnwindSafe for TimeZoneFormatter
impl Send for TimeZoneFormatter
impl Sync for TimeZoneFormatter
impl Unpin for TimeZoneFormatter
impl UnwindSafe for TimeZoneFormatter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more