ZonedDateTimeFormatter class final

An object capable of formatting a date time with time zone to a string.

See the Rust documentation for datetime for more information.

Implemented types

Constructors

ZonedDateTimeFormatter.withLength(DataProvider provider, Locale locale, DateTimeLength length)
Creates a new `ZonedDateTimeFormatter` from locale data.
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

formatDatetimeWithCustomTimeZone(DateTime datetime, TimeZoneInfo timeZone) String
Formats a `DateTime` and `TimeZoneInfo` to a string.
formatIsoDatetimeWithCustomTimeZone(IsoDateTime datetime, TimeZoneInfo timeZone) String
Formats a `IsoDateTime` and `TimeZoneInfo` to a string.
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