pub fn time(ticks: f64) -> Result<MediaTime, String>
Ticks from a JavaScript number that is whole and within the safe-integer range.
Refuses a number that is not finite, not whole, or beyond the safe-integer range.