Provides information about a specific time change, such as the change from daylight saving time to standard time or vice versa, in a particular time zone.
Assembly: mscorlib (in mscorlib.dll)
Gets the day on which the time change occurs.
Gets the day of the week on which the time change occurs.
Gets a value indicating whether the time change occurs at a fixed date and time (such as November 1) or a floating date and time (such as the last Sunday of October).
Gets the month in which the time change occurs.
Gets the hour, minute, and second at which the time change occurs.
Gets the week of the month in which a time change occurs.
|CreateFixedDateRule(DateTime, Int32, Int32)|
Defines a time change that uses a fixed-date rule (that is, a time change that occurs on a specific day of a specific month).
|CreateFloatingDateRule(DateTime, Int32, Int32, DayOfWeek)|
Defines a time change that uses a floating-date rule (that is, a time change that occurs on a specific day of a specific week of a specific month).
Determines whether an object has identical values to the current ValueType.Equals(Object).)object.(Overrides
Determines whether the currentobject has identical values to a second object.
Serves as a hash function for hashing algorithms and data structures such as hash tables.(Overrides ValueType.GetHashCode().)
Returns the fully qualified type name of this instance.(Inherited from ValueType.)
Determines whether two specifiedobjects are equal.
Determines whether two specifiedobjects are not equal.
This API supports the product infrastructure and is not intended to be used directly from your code. Runs when the deserialization of an object has been completed.
This API supports the product infrastructure and is not intended to be used directly from your code. Populates a SerializationInfo object with the data that is required to serialize this object.
You can use thestructure to indicate when a transition from standard time to daylight saving time, or from daylight saving time back to standard time, occurs. This structure supports both fixed-date rules and floating-date rules. Use fixed-date rules for time transitions that occur on a specific day of a specific month (such as 2:00 A.M. on November 3). Use floating-date rules for time transitions that occur on a specific day of a specific week of a specific month (such as 2:00 A.M. on the first Sunday of November).
The following table compares the properties used in fixed-date and floating-date transitions:
For both fixed-date and floating-date transitions, the TimeOfDay property gets the time at which the time change occurs. For transitions from standard to daylight saving time, this is the time zone's standard time value. For transitions from daylight saving to standard time, this is the time zone's daylight saving time value. This is a DateTime value whose date component is ignored; its year, month, and day value must always equal 1.
An instance of thestructure is immutable. Once an object has been created, its values cannot be modified.
A CreateFixedDateRule and CreateFloatingDateRule methods to create a fixed or floating-date rule, respectively. The starting and ending objects are then supplied as parameters to the CreateAdjustmentRule method to create a new adjustment rule that includes this transition time information.object can be created by calling the static (Shared in Visual Basic)
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.