Div returns a Duration representing a time length of d/x.
(x int64)
| 479 | |
| 480 | // Div returns a Duration representing a time length of d/x. |
| 481 | func (d Duration) Div(x int64) Duration { |
| 482 | return d.DivFloat(float64(x)) |
| 483 | } |
| 484 | |
| 485 | // MulFloat returns a Duration representing a time length of d*x. |
| 486 | func (d Duration) MulFloat(x float64) Duration { |