Data type that represents time as an integer count of a rational number.
Property | Description |
---|---|
Count | Returns the number of ticks. |
Ticks | Returns the number of ticks per second. |
Method | Description |
---|---|
FromDouble | Converts a floating point number into a RationalTime with an explicit rate. |
Operator | Description |
---|---|
DiscreteTime | Converts a RationalTime to DiscreteTime representation. If the rate denominator is 1 and the DiscreteTime.TicksPerSecond is a multiple of the numerator, this conversion is lossless. |