Second's constructor now accepts a single Rat instead of a combination of a numerator and a denominator.
Replace Second.END_OF_TIME with a symbol, not new Second(Rat.INFINITY).
Eliminate the Rat.INFINITY constant.
Stop allowing the denominator in a Rat to be 0n. This did work but its behaviour was very delicate and subtle. It makes more sense to disallow this completely. Replace this with special-case logic for Second.END_OF_TIME.
Preparatory work for #61.
Second
's constructor now accepts a singleRat
instead of a combination of a numerator and a denominator.Second.END_OF_TIME
with a symbol, notnew Second(Rat.INFINITY)
.Rat.INFINITY
constant.Rat
to be0n
. This did work but its behaviour was very delicate and subtle. It makes more sense to disallow this completely. Replace this with special-case logic forSecond.END_OF_TIME
.