OSIsoft.AF.Time Namespace
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
The OSIsoft.AF.Time namespace provides a set of classes that relate to time functions.
Classes
| Class | Description | |
|---|---|---|
| AFLocaleIndependentFormatProvider |
An IFormatProvider that implements the locale independent format
supported by the PI SDK.
| |
| AFTimeRule |
The AFTimeRule provides a way to create case time periods based on user
supplied logic and configuration.
| |
| AFTimeRuleSupportsChildTimeRuleAttribute | Obsolete.
Attribute used on an AFTimeRule to indicate that it supports
child time rules to be created under it.
| |
| AFTimeRuleEvent |
An event generated by a time rule
| |
| AFTimeRuleEventArgs |
The event arguments for a time rule event.
| |
| AFTimeRuleEvents |
A collection of events generated by time rules
| |
| AFTimeRules | Obsolete.
The collection of AFTimeRule objects is maintained
by the an AFTimeRule.
| |
| AFTimeZone |
Represents information about a time zone.
| |
| AFTimeZoneFormatProvider |
An IFormatProvider that specifies a TimeZone to be
used when parsing time strings.
|
Structures
| Structure | Description | |
|---|---|---|
| AFTime | AFTime is used to represent time and convert between various time formats.
| |
| AFTimeIntervalDefinition |
Time interval definition structure.
| |
| AFTimeRange |
This structure represents a time range which is defined by a start time and an end time.
| |
| AFTimeSpan |
This is a structure which represents a time interval.
|
Interfaces
| Interface | Description | |
|---|---|---|
| IAFTimePeriod |
This interface defines the properties and methods for objects which support a time period.
| |
| IAFTimeSource |
This interface defines the properties for objects which support a time source.
|
Delegates
| Delegate | Description | |
|---|---|---|
| AFTimeRuleSaveConfigChangesHandler |
A handler to save configuration changes.
|
In This Topic
Related Links
- AFLocaleIndependentFormatProvider Class
- AFTime Structure
- AFTimeIntervalDefinition Structure
- AFTimeRange Structure
- AFTimeRule Class
- AFTimeRule.SaveConfigChangesHandler Delegate
- AFTimeRule.SupportsChildTimeRuleAttribute Class
- AFTimeRuleEvent Class
- AFTimeRuleEventArgs Class
- AFTimeRuleEvents Class
- AFTimeRules Class
- AFTimeSpan Structure
- AFTimeZone Class
- AFTimeZoneFormatProvider Class
- IAFTimePeriod Interface
- IAFTimeSource Interface