AFTime Operators and Type Conversions
- Last UpdatedNov 18, 2025
- 4 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFTime type exposes the following members.
Operators
| Name | Description | |
|---|---|---|
| Addition(AFTime, AFTimeSpan) | ||
| Addition(AFTime, TimeSpan) | ||
| Equality |
The equality operator (==) compares its operands to determine if they are equal.
| |
| GreaterThan |
The greater than relation operator (>) compares its operands to determine
which one is greater than the other.
| |
| GreaterThanOrEqual |
The greater than or equal relation operator (>=) compares its operands to determine
which one is greater than or equal to the other.
| |
| (DateTime to AFTime) |
Implicit cast operator to convert a DateTime to an AFTime.
| |
| (AFTime to DateTime) |
Implicit cast operator to convert an AFTime to a DateTime.
| |
| Inequality |
The inequality operator (!=) compares its operands to determine if they are not equal.
| |
| LessThan |
The less than relation operator (<) compares its operands to determine
which one is less than the other.
| |
| LessThanOrEqual |
The less than or equal relation operator (<=) compares its operands to determine
which one is less than or equal to the other.
| |
| Subtraction(AFTime, AFTime) | ||
| Subtraction(AFTime, AFTimeSpan) | ||
| Subtraction(AFTime, TimeSpan) |