Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

TimeZoneInfo::TransitionTime::IsFixedDateRule Property

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).

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)
property bool IsFixedDateRule {
	bool get ();

Property Value

Type: System::Boolean
true if the time change rule is fixed-date; false if the time change rule is floating-date.

A fixed-date rule indicates that the transition occurs on the same date and time of each year to which the adjustment rule applies. For example, a time change that occurs every November 3 follows a fixed-date rule. A floating-date rule indicates that the transition occurs on a specific day of a specific week of a specific month for each year to which the adjustment rule applies. For example, a time change that occurs on the first Sunday of November follows a floating-date rule.

The value of the IsFixedDateRule property determines which properties of a TimeZoneInfo::TransitionTime object have valid values. The following table indicates which properties are affected by the value of the IsFixedDateRule property.

TransitionTime property

IsFixedDateRule = true

IsFixedDateRule = false
















The following example lists the transition times to and from daylight saving time for all time zones that are available on the local system. For time zones with fixed-date rules, it displays transition time information from the properties of the TimeZoneInfo::TransitionTime object. For time zones without fixed-date rules, it uses a Calendar object that represents the current system calendar to determine the actual start and end dates of the transition. The example displays the results to the console.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.