Ejemplo n.º 1
0
func (p Position) Add(d Duration) Position {
	return Position(rational.Add(rational.Rational(p), rational.Rational(d)))
}
Ejemplo n.º 2
0
func (d Duration) Add(other Duration) Duration {
	return Duration(rational.Add(rational.Rational(d), rational.Rational(other)))
}