# File lib/rufus/scheduler/zotime.rb, line 451
    def _to_f(o)

      fail ArgumentError(
        "comparison of ZoTime with #{o.inspect} failed"
      ) unless o.is_a?(ZoTime) || o.is_a?(Time)

      o.to_f
    end