class Date
class Date::Infinity
date
3.0.3
# to_f
def to_f return 0 if @d == 0 if @d > 0 Float::INFINITY else -Float::INFINITY end end