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