operator * method
- numfactor
Multiplies this Duration by the givenfactor and returns the resultas a new Duration object.
Note that whenfactor is a double, and the duration is greater than53 bits, precision is lost because of double-precision arithmetic.
Implementation
Duration operator *(num factor) { return Duration._microseconds((_duration * factor).round());}