AFTime Methods
- Last UpdatedNov 18, 2025
- 5 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFTime type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CompareTo(Object) |
Compares this instance with a specified Object.
| |
| CompareTo(AFTime) |
Compares this instance with a specified AFTime.
| |
| ConvertString |
Converts an AFTime or AFTimeSpan input string to a different culture-specific
normalized string.
| |
| Equals(Object) |
Determines whether the specified Object is equal to the current object.
(Overrides ValueTypeEquals(Object).) | |
| Equals(AFTime) |
Indicates whether the current object is equal to another object of the same type.
| |
| Equals(AFTime, Double) |
Indicates whether the current object is equal to another object of the same type.
| |
| GetAbbreviatedName |
Gets the culture-specific abbreviated time name of the specified invariant time name based on the specified format provider.
| |
| 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.) | |
| GetName |
Gets the culture-specific full time name of the specified invariant time name based on the specified format provider.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Parse(String, IFormatProvider) |
Converts the specified string representation of a local date and time to its AFTime equivalent
by using the specified culture-specific formatting information.
| |
| Parse(String, AFTime, IFormatProvider) |
Converts the specified string representation of a local date and time to its AFTime equivalent
by using the specified reference time and culture-specific formatting information.
| |
| ToPIPrecision | ||
| ToString |
Returns a String that represents the current object.
(Overrides ValueTypeToString.) | |
| ToString(IFormatProvider) |
Returns a String that represents the current object.
| |
| ToString(String, IFormatProvider) |
Returns a String that represents the current object.
| |
| TruncateToWholeSeconds |
Truncates the fractional seconds from the AFTime object.
| |
| TryParse(String, AFTime) |
Converts the specified string representation of a local date and time to its AFTime equivalent
by using the CurrentCulture and returns a value that indicates whether
the conversion succeeded.
| |
| TryParse(String, AFTime, AFTime) |
Converts the specified string representation of a local date and time to its AFTime equivalent
by using the specified reference time and returns a value that indicates whether the conversion succeeded.
| |
| TryParse(String, IFormatProvider, AFTime) |
Converts the specified string representation of a local date and time to its AFTime equivalent
by using the specified culture-specific formatting information and returns a value that indicates whether
the conversion succeeded.
| |
| TryParse(String, AFTime, IFormatProvider, AFTime) |
Converts the specified string representation of a local date and time to its AFTime equivalent
by using the specified reference time and culture-specific formatting information,
and returns a value that indicates whether the conversion succeeded.
|