Div returns a Duration representing a time length of d/x.
(x int64)
| 816 | |
| 817 | // Div returns a Duration representing a time length of d/x. |
| 818 | func (d Duration) Div(x int64) Duration { |
| 819 | return d.DivFloat(float64(x)) |
| 820 | } |
| 821 | |
| 822 | // MulFloat returns a Duration representing a time length of d*x. |
| 823 | func (d Duration) MulFloat(x float64) Duration { |