Ticks Operators and Type Conversions

Operators

Addition(Ticks, Ticks) Returns computed sum of values.
BitwiseAnd(Ticks, Ticks) Returns logical bitwise AND of values.
BitwiseOr(Ticks, Ticks) Returns logical bitwise OR of values.
Division(Ticks, Ticks) Returns computed division of values.
Equality(Ticks, Ticks) Compares the two values for equality.
ExclusiveOr(Ticks, Ticks) Returns logical bitwise exclusive-OR of values.
Exponent(Ticks, Ticks) Returns result of first value raised to power of second value.
False(Ticks) Returns true if value is equal to zero.
GreaterThan(Ticks, Ticks) Returns true if left value is greater than right value.
GreaterThanOrEqual(Ticks, Ticks) Returns true if left value is greater than or equal to right value.
(DateTime to Ticks) Implicitly converts value, represented as a DateTime, to a Ticks.
(Int64 to Ticks) Implicitly converts value, represented in ticks, to a Ticks.
(Ticks to NtpTimeTag) Implicitly converts Ticks, represented in ticks, to an NtpTimeTag.
(Ticks to UnixTimeTag) Implicitly converts Ticks, represented in ticks, to a UnixTimeTag.
(Ticks to DateTime) Implicitly converts Ticks, represented in ticks, to a DateTime.
(Ticks to Int64) Implicitly converts Ticks, represented in ticks, to an Int64.
(Ticks to TimeSpan) Implicitly converts Ticks, represented in ticks, to a TimeSpan.
(TimeSpan to Ticks) Implicitly converts value, represented as a TimeSpan, to a Ticks.
(TimeTagBase to Ticks) Implicitly converts value, represented as a TimeTagBase, to a Ticks.
Inequality(Ticks, Ticks) Compares the two values for inequality.
LeftShift(Ticks, Int32) Returns value after left shifts of first value by the number of bits specified by second value.
LessThan(Ticks, Ticks) Returns true if left value is less than right value.
LessThanOrEqual(Ticks, Ticks) Returns true if left value is less or equal to than right value.
Modulus(Ticks, Ticks) Returns computed remainder after dividing first value by the second.
Multiply(Ticks, Ticks) Returns computed product of values.
OnesComplement(Ticks) Returns bitwise complement of value.
RightShift(Ticks, Int32) Returns value after right shifts of first value by the number of bits specified by second value.
Subtraction(Ticks, Ticks) Returns computed difference of values.
True(Ticks) Returns true if value is not zero.

See Also