TimeChangeRule Class

Represents a rule that determines when a TimeZoneInfo switches between UTC offsets.

Definition

Namespace: InnerDrive.TimeZones
Assembly: InnerDrive.TimeZones (in InnerDrive.TimeZones.dll) Version: 5.2.9017.0
C#
public class TimeChangeRule : IEquatable<TimeChangeRule>
Inheritance
Object    TimeChangeRule
Implements
IEquatableTimeChangeRule

Properties

DayOfWeek Gets the day of the week that the rule begins on.
EffectiveDate Gets the earliest date that the rule is effective.
EffectiveDay Gets the earliest day of the month that the rule begins on.
EffectiveMonth Gets the month of the year that the rule begins in.
EffectiveTimeOfDay Gets the time of day (either local or Universal; see EffectiveTimeOfDayType) that the rule begins.
EffectiveTimeOfDayType Specifies whether EffectiveTimeOfDay represents a local time, Universal Coordinated Time (UTC), or an unspecified time.
EffectiveYear Gets the earliest year that the rule applies to.
Name Gets the name of the TimeZoneRule.
Offset Gets the offset from standard time that is in effect for this TimeZoneRule.
OrdinalWeekday Gets the ordinal position of the DayOfWeek the rule starts on.
RuleType Gets information about the type of TimeZoneRule this represents.
Symbol Gets or sets a symbol to identify the rule.
ToYear Gets the latest year the rule applies to.
UtcChangeRule Gets the TimeZoneRule that represents Universal Coordinated Time (UTC).

Methods

Equals(Object) Determines whether the specified Object is equal to the current TimeChangeRule.
(Overrides ObjectEquals(Object))
Equals(TimeChangeRule) Indicates whether the current object is equal to another object of the same type.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
StartDate Gets the date and time during a given year that the rule first applies.
ToString Returns a String that represents the current TimeZoneRule.
(Overrides ObjectToString)

See Also