ZonedTimeFormatter class final
See the Rust documentation for NoCalendarFormatter
for more information.
- Implemented types
Constructors
- ZonedTimeFormatter.exemplarCity(Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
- ZonedTimeFormatter.exemplarCityWithProvider(DataProvider provider, Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
- ZonedTimeFormatter.genericLong(Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
- ZonedTimeFormatter.genericLongWithProvider(DataProvider provider, Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
- ZonedTimeFormatter.genericShort(Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
- ZonedTimeFormatter.genericShortWithProvider(DataProvider provider, Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
- ZonedTimeFormatter.localizedOffsetLong(Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
- ZonedTimeFormatter.localizedOffsetLongWithProvider(DataProvider provider, Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
- ZonedTimeFormatter.localizedOffsetShort(Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
- ZonedTimeFormatter.localizedOffsetShortWithProvider(DataProvider provider, Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
- ZonedTimeFormatter.location(Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
- ZonedTimeFormatter.locationWithProvider(DataProvider provider, Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
- ZonedTimeFormatter.specificLong(Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
- ZonedTimeFormatter.specificLongWithProvider(DataProvider provider, Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
- ZonedTimeFormatter.specificShort(Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
- ZonedTimeFormatter.specificShortWithProvider(DataProvider provider, Locale locale, {DateTimeLength? length, TimePrecision? timePrecision, DateTimeAlignment? alignment})
-
Creates a zoned formatter based on a non-zoned formatter.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
format(
Time time, TimeZoneInfo zone) → String -
See the Rust documentation for
format
for more information. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited