Click or drag to resize

TimeZoneRule Structure

Defines which TimeChangeRule governs a time zone for a specific period of time.
Inheritance Hierarchy
SystemObject
  SystemValueType
    InnerDrive.TimeZonesTimeZoneRule

Namespace: InnerDrive.TimeZones
Assembly: InnerDrive.TimeZones (in InnerDrive.TimeZones.dll) Version: 5.0.8475.0
Syntax
C#
public struct TimeZoneRule : IEquatable<TimeZoneRule>

The TimeZoneRule type exposes the following members.

Constructors
 NameDescription
Public methodTimeZoneRule Default constructor required in C# 10
Top
Properties
 NameDescription
Public propertyAbbreviationFormat Gets or sets the abbreviation format for this TimeZoneRule.
Public propertyChangeRuleName Gets or sets the name of the TimeChangeRule that applies to this TimeZoneRule.
Public propertyDateRange Gets or sets the range of dates during which the TimeZoneRule is effective.
Public propertyEndDate Gets the latest date and time the rule is effective.
Public propertyName Gets or sets the name of this TimeZoneRule.
Public propertyStartDate Gets the earliest date and time that the rule is effective.
Public propertyUtcOffset Gets or sets the offset between this TimeZoneRule and Universal Coordinated Time (UTC).
Public propertyStatic memberUtcZoneRule Gets a TimeZoneRule representing Universal Coordinated Time (UTC).
Top
Methods
 NameDescription
Public methodEquals(Object) Determines whether the specified Object is equal to the current TimeZoneRule.
(Overrides ValueTypeEquals(Object))
Public methodEquals(TimeZoneRule) Indicates whether the current object is equal to another object of the same type.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString Returns a String representation of this TimeZoneRule.
(Overrides ValueTypeToString)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(TimeZoneRule, TimeZoneRule) Compares two instances of TimeZoneRule for equality.
Public operatorStatic memberInequality(TimeZoneRule, TimeZoneRule) Compares two instances of TimeZoneRule for inequality.
Top
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.
See Also