Data type that represents time as an integer count of a rational number.
| Description | |
|---|---|
| Count | Returns the number of ticks. |
| Ticks | Returns the number of ticks per second. |
| Description | |
|---|---|
| FromDouble | Converts a floating point number into a RationalTime with an explicit rate. |
| 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. |