Extension method operations for RationalTime.
All binary operations throw exceptions if the rates for 2 operands do not match.
Add | Adds two Rational Times together. |
Convert | Converts a RationalTime from one rate to another. This is lossless unless it triggers an overflow. |
Divide | Divides a RationalTime by another. |
IsValid | Validity check. |
Multiply | Multiplies two Rational Times together. |
Subtract | Subtracts a RationalTime from another. |
ToDouble | Converts the data type to Double. |