TimeZoneTransitionTime class

Dart counterpart of System.TimeZoneInfo.TransitionTime: the (recurring) local wall-clock time at which a daylight saving time transition happens.

Constructors

TimeZoneTransitionTime.CreateFixedDateRule(Duration TimeOfDay, int Month, int Day)
Creates a transition that occurs on a fixed day of a month.
const
TimeZoneTransitionTime.CreateFloatingDateRule(Duration TimeOfDay, int Month, int Week, int DayOfWeek)
Creates a transition that occurs on the Nth (or last) week day of a month.
const

Properties

Day → int
Gets the day of the month of a fixed rule.
final
DayOfWeek → int
Gets the day of the week (DateTime.monday..DateTime.sunday) of a floating rule.
final
hashCode → int
The hash code for this object.
no setteroverride
IsFixedDateRule → bool
Gets a value indicating whether the transition occurs on a fixed date.
final
Month → int
Gets the month (1-12) of the transition.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
TimeOfDay → Duration
Gets the local time of day (in the period being left) of the transition.
final
Week → int
Gets the week of the month (1-5, 5 = last) of a floating rule.
final

Methods

GetOccurrence(int year) → DateTime
Gets the local wall-clock date and time (as UTC fields) at which this transition occurs in the specified year.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override