TimeZoneRule Structure

Defines which TimeChangeRule governs a time zone for a specific period of time.

Definition

Namespace: InnerDrive.TimeZones
Assembly: InnerDrive.TimeZones (in InnerDrive.TimeZones.dll) Version: 5.2.9017.0
C#
public struct TimeZoneRule : IEquatable<TimeZoneRule>
Inheritance
Object    ValueType    TimeZoneRule
Implements
IEquatableTimeZoneRule

Remarks

This class is in the InnerDrive.Geography namespace (rather than InnerDrive.Geography.TimeZones because of a known defect in the way Microsoft Visual Studio compiles resources for value types.

Constructors

TimeZoneRule Default constructor required in C# 10

Properties

AbbreviationFormat Gets or sets the abbreviation format for this TimeZoneRule.
ChangeRuleName Gets or sets the name of the TimeChangeRule that applies to this TimeZoneRule.
DateRange Gets or sets the range of dates during which the TimeZoneRule is effective.
EndDate Gets the latest date and time the rule is effective.
Name Gets or sets the name of this TimeZoneRule.
StartDate Gets the earliest date and time that the rule is effective.
UtcOffset Gets or sets the offset between this TimeZoneRule and Universal Coordinated Time (UTC).
UtcZoneRule Gets a TimeZoneRule representing Universal Coordinated Time (UTC).

Methods

Equals(Object) Determines whether the specified Object is equal to the current TimeZoneRule.
(Overrides ValueTypeEquals(Object))
Equals(TimeZoneRule) 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 ValueTypeGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString Returns a String representation of this TimeZoneRule.
(Overrides ValueTypeToString)

Operators

Equality(TimeZoneRule, TimeZoneRule) Compares two instances of TimeZoneRule for equality.
Inequality(TimeZoneRule, TimeZoneRule) Compares two instances of TimeZoneRule for inequality.

See Also