ZonedDateTime class final
An ICU4X DateTime object capable of containing a date, time, and zone for any calendar.
See the Rust documentation for ZonedDateTime
for more information.
Constructors
- ZonedDateTime.fullFromString(String v, Calendar calendar, IanaParser ianaParser, VariantOffsetsCalculator offsetCalculator)
-
Creates a new ZonedDateTime from an IXDTF string.
factory
- ZonedDateTime.lenientFromString(String v, Calendar calendar, IanaParser ianaParser)
-
Creates a new ZonedDateTime from an IXDTF string, without requiring the offset or calculating the zone variant.
factory
- ZonedDateTime.locationOnlyFromString(String v, Calendar calendar, IanaParser ianaParser)
-
Creates a new ZonedDateTime from a location-only IXDTF string.
factory
- ZonedDateTime.offsetOnlyFromString(String v, Calendar calendar)
-
Creates a new ZonedDateTime from an offset-only IXDTF string.
factory
Properties
- date → Date
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time → Time
-
final
- zone → TimeZoneInfo
-
final
Methods
-
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.
override