ZoneRules class abstract
Time zone rules for a specific location.
Constructors
- ZoneRules([void updates(ZoneRulesBuilder)])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rule → ZoneTransitionRule
-
The general rule for time transitions to use afte the last entry in
transitions.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transitions
→ BuiltList<
ZoneTransition> -
A list of time transitions for this time zone in ascending order by
transition time.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
offsetFor(
HasInstant instant) → NamedZoneOffset -
Finds the zone offset that applies at the given
instant
. -
rebuild(
dynamic updates(ZoneRulesBuilder)) → ZoneRules -
Rebuilds the instance.
inherited
-
toBuilder(
) → ZoneRulesBuilder -
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<
ZoneRules> -
no setter