AFTimeZoneFormatProvider Class
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
An IFormatProvider that specifies a TimeZone to be
used when parsing time strings.
Inheritance Hierarchy
SystemObject
OSIsoft.AF.TimeAFTimeZoneFormatProvider
OSIsoft.AF.TimeAFTimeZoneFormatProvider
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public sealed class AFTimeZoneFormatProvider : IFormatProvider
Public NotInheritable Class AFTimeZoneFormatProvider Implements IFormatProvider Dim instance As AFTimeZoneFormatProvider
public ref class AFTimeZoneFormatProvider sealed : IFormatProvider
[<SealedAttribute>] type AFTimeZoneFormatProvider = class interface IFormatProvider end
The AFTimeZoneFormatProvider type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| AFTimeZoneFormatProvider |
Creates a new instance of the AFTimeZoneFormatProvider.
|
Properties
| Name | Description | |
|---|---|---|
| Provider |
An object that supplies culture-specific formatting information.
| |
| TimeZone |
The AFTimeZone to be used when parsing time strings.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString |
Returns a String that represents the current object.
(Overrides ObjectToString.) | |
| ToString(IFormatProvider) |
Returns a String that represents the current object.
|
Remarks
This IFormatProvider allows a TimeZone to be specified when
parsing time strings.