TimeZoneTextValueObject class abstract
An object containing Unix time, a time zone, and its formatted text representation.
Properties:
- text - The time specified as a string in the time zone.
- value - The time specified as Unix time, or seconds since midnight, January 1, 1970 UTC.
- timeZone - Contains the time zone. The value is the name of the time zone as defined in the IANA Time Zone Database, e.g. "America/New_York".
Constructors
- TimeZoneTextValueObject([void updates(TimeZoneTextValueObjectBuilder b)])
-
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
- text → String
-
The time specified as a string in the time zone.
no setter
- timeZone → String
-
Contains the time zone. The value is the name of the time zone as defined in the IANA Time Zone Database, e.g. "America/New_York".
no setter
- value → num
-
The time specified as Unix time, or seconds since midnight, January 1, 1970 UTC.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(TimeZoneTextValueObjectBuilder)) → TimeZoneTextValueObject -
Rebuilds the instance.
inherited
-
toBuilder(
) → TimeZoneTextValueObjectBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
TimeZoneTextValueObject> -
no setter