Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFTime Operators and Type Conversions

  • Last UpdatedNov 18, 2025
  • 4 minute read
AFTime Operators and Type Conversions

The AFTime type exposes the following members.

Operators

  NameDescription
Public operatorStatic member
Addition(AFTime, AFTimeSpan)
Adds a specified AFTimeSpan time interval to a specified AFTime, yielding a new AFTime.
Public operatorStatic member
Addition(AFTime, TimeSpan)
Adds a specified TimeSpan time interval to a specified AFTime, yielding a new AFTime.
Public operatorStatic member
Equality
The equality operator (==) compares its operands to determine if they are equal.
Public operatorStatic member
GreaterThan
The greater than relation operator (>) compares its operands to determine which one is greater than the other.
Public operatorStatic member
GreaterThanOrEqual
The greater than or equal relation operator (>=) compares its operands to determine which one is greater than or equal to the other.
Public operatorStatic member
(DateTime to AFTime)
Implicit cast operator to convert a DateTime to an AFTime.
Public operatorStatic member
(AFTime to DateTime)
Implicit cast operator to convert an AFTime to a DateTime.
Public operatorStatic member
Inequality
The inequality operator (!=) compares its operands to determine if they are not equal.
Public operatorStatic member
LessThan
The less than relation operator (<) compares its operands to determine which one is less than the other.
Public operatorStatic member
LessThanOrEqual
The less than or equal relation operator (<=) compares its operands to determine which one is less than or equal to the other.
Public operatorStatic member
Subtraction(AFTime, AFTime)
Subtracts a specified AFTime from another specified AFTime, yielding a time interval.
Public operatorStatic member
Subtraction(AFTime, AFTimeSpan)
Subtracts a specified AFTimeSpan time interval from a specified AFTime, yielding a new AFTime.
Public operatorStatic member
Subtraction(AFTime, TimeSpan)
Subtracts a specified TimeSpan time interval from a specified AFTime, yielding a new AFTime.

See Also

TitleResults for “How to create a CRG?”Also Available in