AFTimeRange Methods
- Last UpdatedNov 18, 2025
- 4 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFTimeRange type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AdjustForSyncTime |
Adjust the time range so that the start time and end time are in sync with the syncTime.
| |
| CompareTo(Object) |
Compares this instance with a specified Object.
| |
| CompareTo(AFTimeRange) |
Compares this instance with a specified AFTimeRange.
| |
| Equals(Object) |
Determines whether the specified Object is equal to the current object.
(Overrides ValueTypeEquals(Object).) | |
| Equals(AFTimeRange) |
Indicates whether the current object is equal to another object of the same type.
| |
| GetHashCode |
Gets the hash code for this instance of the object which is suitable for use in hashing
algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Intersect |
Computes the intersection between this AFTimeRange and another AFTimeRange.
| |
| Parse(String, String, IFormatProvider) |
Converts the specified local date and time string representations of the start and end times
to its AFTimeRange equivalent by using the specified culture-specific formatting
information.
| |
| Parse(String, String, AFTime, IFormatProvider) |
Converts the specified local date and time string representations of the start and end times
to its AFTimeRange equivalent by using the specified reference time and
culture-specific formatting information.
| |
| ToString |
Returns a String that represents the time range in a format that can
be presented to the user.
(Overrides ValueTypeToString.) | |
| ToString(IFormatProvider) |
Returns a String that represents the time range using the specified
culture-specific information that can be presented to the user.
| |
| ToString(String) |
Returns a String that represents the time range using the specified
format that can be presented to the user.
| |
| ToString(String, IFormatProvider) |
Returns a String that represents the time range using the specified
format and culture-specific information that can be presented to the user.
| |
| TryParse(String, String, AFTimeRange) |
Converts the specified local date and time string representations of the start and end times
to its AFTimeRange equivalent by using the CurrentCulture
and returns a value that indicates whether the conversion succeeded.
| |
| TryParse(String, String, AFTime, AFTimeRange) |
Converts the specified local date and time string representations of the start and end times
to its AFTimeRange equivalent by using the specified reference time and returns
a value that indicates whether the conversion succeeded.
| |
| TryParse(String, String, IFormatProvider, AFTimeRange) |
Converts the specified local date and time string representations of the start and end times
to its AFTimeRange equivalent by using the specified culture-specific formatting
information and returns a value that indicates whether the conversion succeeded.
| |
| TryParse(String, String, AFTime, IFormatProvider, AFTimeRange) |
Converts the specified local date and time string representations of the start and end times
to its AFTimeRange equivalent by using the specified reference time and
culture-specific formatting information, and returns a value that indicates whether the
conversion succeeded.
|