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