pub struct ZonedDateTimeFormatter(pub DateTimeFormatter<CompositeFieldSet>);
Tuple Fields§
§0: DateTimeFormatter<CompositeFieldSet>
Implementations§
Source§impl ZonedDateTimeFormatter
impl ZonedDateTimeFormatter
pub fn create_generic_short( locale: &Locale, formatter: &DateTimeFormatter, ) -> Result<Box<ZonedDateTimeFormatter>, DateTimeFormatterLoadError>
pub fn create_generic_short_with_provider( provider: &DataProvider, locale: &Locale, formatter: &DateTimeFormatter, ) -> Result<Box<ZonedDateTimeFormatter>, DateTimeFormatterLoadError>
pub fn create_generic_long( locale: &Locale, formatter: &DateTimeFormatter, ) -> Result<Box<ZonedDateTimeFormatter>, DateTimeFormatterLoadError>
pub fn create_generic_long_with_provider( provider: &DataProvider, locale: &Locale, formatter: &DateTimeFormatter, ) -> Result<Box<ZonedDateTimeFormatter>, DateTimeFormatterLoadError>
pub fn create_specific_short( locale: &Locale, formatter: &DateTimeFormatter, ) -> Result<Box<ZonedDateTimeFormatter>, DateTimeFormatterLoadError>
pub fn create_specific_short_with_provider( provider: &DataProvider, locale: &Locale, formatter: &DateTimeFormatter, ) -> Result<Box<ZonedDateTimeFormatter>, DateTimeFormatterLoadError>
pub fn create_specific_long( locale: &Locale, formatter: &DateTimeFormatter, ) -> Result<Box<ZonedDateTimeFormatter>, DateTimeFormatterLoadError>
pub fn create_specific_long_with_provider( provider: &DataProvider, locale: &Locale, formatter: &DateTimeFormatter, ) -> Result<Box<ZonedDateTimeFormatter>, DateTimeFormatterLoadError>
pub fn create_localized_offset_short( locale: &Locale, formatter: &DateTimeFormatter, ) -> Result<Box<ZonedDateTimeFormatter>, DateTimeFormatterLoadError>
pub fn create_localized_offset_short_with_provider( provider: &DataProvider, locale: &Locale, formatter: &DateTimeFormatter, ) -> Result<Box<ZonedDateTimeFormatter>, DateTimeFormatterLoadError>
pub fn create_localized_offset_long( locale: &Locale, formatter: &DateTimeFormatter, ) -> Result<Box<ZonedDateTimeFormatter>, DateTimeFormatterLoadError>
pub fn create_localized_offset_long_with_provider( provider: &DataProvider, locale: &Locale, formatter: &DateTimeFormatter, ) -> Result<Box<ZonedDateTimeFormatter>, DateTimeFormatterLoadError>
pub fn format_iso( &self, date: &IsoDate, time: &Time, zone: &TimeZoneInfo, write: &mut DiplomatWrite, ) -> Result<(), DateTimeWriteError>
Auto Trait Implementations§
impl Freeze for ZonedDateTimeFormatter
impl RefUnwindSafe for ZonedDateTimeFormatter
impl Send for ZonedDateTimeFormatter
impl Sync for ZonedDateTimeFormatter
impl Unpin for ZonedDateTimeFormatter
impl UnwindSafe for ZonedDateTimeFormatter
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