Click or drag to resize

Time Operators and Type Conversions

The Time type exposes the following members.

Operators
  Name Description
Public operator Static member Addition(Time, Time) Returns computed sum of values.
Public operator Static member Division(Time, Time) Returns computed division of values.
Public operator Static member Equality(Time, Time) Compares the two values for equality.
Public operator Static member Exponent(Time, Time) Returns result of first value raised to power of second value.
Public operator Static member GreaterThan(Time, Time) Returns true if left value is greater than right value.
Public operator Static member GreaterThanOrEqual(Time, Time) Returns true if left value is greater than or equal to right value.
Public operator Static member (Double to Time) Implicitly converts value, represented in seconds, to a Time.
Public operator Static member (Time to Double) Implicitly converts Time, represented in seconds, to a Double.
Public operator Static member (Time to TimeSpan) Implicitly converts Time, represented in seconds, to a TimeSpan.
Public operator Static member (TimeSpan to Time) Implicitly converts value, represented as a TimeSpan, to a Time.
Public operator Static member Inequality(Time, Time) Compares the two values for inequality.
Public operator Static member LessThan(Time, Time) Returns true if left value is less than right value.
Public operator Static member LessThanOrEqual(Time, Time) Returns true if left value is less or equal to than right value.
Public operator Static member Modulus(Time, Time) Returns computed remainder after dividing first value by the second.
Public operator Static member Multiply(Time, Time) Returns computed product of values.
Public operator Static member Subtraction(Time, Time) Returns computed difference of values.
Top
See Also