TimeChangeRule class abstract
A rule for determining what day and time a ZoneTransitionRule occurs at for a given year.
Constructors
- TimeChangeRule([void updates(TimeChangeRuleBuilder)])
-
factory
Properties
- day → Weekday
-
The weekday.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- month → int
-
The month the change occurs.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time → LocalTime
-
The time the change occurs. Defaults to 02:00 AM.
no setter
- week → int
-
The week of the month. Week 5 means "the last day of the month"
no setter
Methods
-
forYear(
int year) → LocalDateTime -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(TimeChangeRuleBuilder)) → TimeChangeRule -
Rebuilds the instance.
inherited
-
toBuilder(
) → TimeChangeRuleBuilder -
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<
TimeChangeRule> -
no setter