Version

TimeZoneInfoProvider Class Members

The following tables list the members exposed by TimeZoneInfoProvider.

Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)LocalTimeZoneIdPropertyIdentifies the LocalTimeZoneId dependency property  
Public Fieldstatic (Shared in Visual Basic)VersionPropertyIdentifies the read-only Version dependency property  
Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)DefaultProviderReturns a static instance of a TimeZoneInfoProvider pre-loaded with default time zone information  
Public PropertyDependencyObjectTypeGets the System.Windows.DependencyObjectType that wraps the CLR type of this instance. (Inherited from System.Windows.DependencyObject)
Public PropertyDispatcherGets the System.Windows.Threading.Dispatcher this System.Windows.Threading.DispatcherObject is associated with. (Inherited from System.Windows.Threading.DispatcherObject)
Public PropertyIsSealedGets a value that indicates whether this instance is currently sealed (read-only). (Inherited from System.Windows.DependencyObject)
Public PropertyLocalTimeZoneIdReturns or sets the Id for the local time zone  
Public PropertyLocalTimeZoneIdResolvedReturns the id for the local time zone (read-only)  
Public PropertyLocalTokenReturns the token that represents the local time zone  
Public PropertyTimeZoneTokensReturns a read-only collection of time zone tokens  
Public PropertyUtcTokenReturns the token that represents the UTC time zone  
Public PropertyVersionReturns a version number that gets bumped when any change is made that affects time zone information  
Protected Properties
 NameDescription
Protected PropertyTokensReturns a collection of tokens.  
Public Methods
 NameDescription
Public MethodClearCachedValuesClears any values that have been cached so they can be re-created when needed  
Public MethodClearValueOverloaded. Clears the local value of a property. The property to be cleared is specified by a System.Windows.DependencyProperty identifier. (Inherited from System.Windows.DependencyObject)
Public MethodCoerceValueCoerces the value of the specified dependency property. This is accomplished by invoking any System.Windows.CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodConvertLocalToUtcConverts the specified local time to universal time.  
Public MethodConvertTimeOverloaded. Converts a DateTime from one time zone to another  
Public MethodConvertUtcToLocalConverts the specified universal time to local time.  
Public MethodEquals (Inherited from System.Windows.DependencyObject)
Public MethodGetAdjustmentRulesReturns an array of adjustment rules for the time zone  
Public MethodGetAmbiguousTimeOffsetsOverloaded. Gets the ambiguous time offsets for a time when a daylight time transition is occuring  
Public MethodGetBaseUtcOffsetReturns the base offset to utc time (when not in daylight saving time)  
Public MethodGetDaylightNameReturns the display name for the time zone  
Public MethodGetDisplayNameReturns the display name for the time zone  
Public MethodGetExportIdReturns the export id for the time zone  
Public MethodGetHashCodeGets a hash code for this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodGetLocalValueEnumeratorCreates a specialized enumerator for determining which dependency properties have locally set values on this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodGetStandardNameReturns the display name for the time zone  
Public MethodGetTimeZoneTokenOverloaded. Returns the TimeZoneToken for the time zone  
Public MethodGetUtcOffsetOverloaded. Returns the offset to convert a dateTime time to Utc time  
Public MethodGetValueReturns the current effective value of a dependency property on this instance of a System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodInvalidateProperty (Inherited from System.Windows.DependencyObject)
Public MethodIsAmbiguousTimeOverloaded. Determines if a DateTime is ambiguous, i.e. it is within a daylight time transition  
Public MethodIsDaylightSavingsTimeOverloaded. Determines if a DateTime is within a daylight savings adjustment period  
Public MethodIsInvalidTimeOverloaded. Determines if a DateTime is invalid  
Public MethodIsValidTimeZoneIdDetermines if a string is a valid time zone id  
Public MethodReadLocalValueReturns the local value of a dependency property, if it exists. (Inherited from System.Windows.DependencyObject)
Public MethodSaveToXmlOverloaded. Saves all the time zone definition information as xml  
Public MethodSetCurrentValue (Inherited from System.Windows.DependencyObject)
Public MethodSetValueOverloaded. Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from System.Windows.DependencyObject)
Public MethodSupportsDayLightSavingsTimeReturns true if the time zone supports daylight savings time  
Public MethodTryGetTimeZoneTokenTries to get the TimeZoneToken for the time zone safely  
Protected Methods
 NameDescription
Protected MethodBumpVersionShould be called whenever any time zone information has changed  
Protected MethodCreateTimeZoneDefinitionCreates and returns an instance of a TimeZoneInfoProvider.TimeZoneDefinition  
Protected MethodCreateTokenCreates an returns a TimeZoneToken  
Protected MethodGetTimeZoneDefinitionsReturns a read-only collection of TimeZoneInfoProvider.TimeZoneDefinition objects  
Protected MethodGetUtcOffsetForDateTimeGets the Utc offset for a specific date time  
Protected MethodIsAmbiguousOverloaded. Returns whether a time is ambiguous, i.e. it it at a daylight savings transition  
Protected MethodOnPropertyChangedOverloaded. Used to raise the PropertyChanged event for the specified property name. (Inherited from Infragistics.DependencyObjectNotifier)
Protected MethodRaisePropertyChangedEventRaises the PropertyChanged event (Inherited from Infragistics.DependencyObjectNotifier)
Protected Internal MethodShouldSerializePropertyReturns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (Inherited from System.Windows.DependencyObject)
Public Events
 NameDescription
Public EventPropertyChangedRaised when a property has changed (Inherited from Infragistics.DependencyObjectNotifier)
See Also