Beispiel #1
0
func (p Position) Add(d Duration) Position {
	return Position(rational.Add(rational.Rational(p), rational.Rational(d)))
}
Beispiel #2
0
func (d Duration) Add(other Duration) Duration {
	return Duration(rational.Add(rational.Rational(d), rational.Rational(other)))
}