# File lib/rufus/scheduler/cronline.rb, line 100 def matches?(time) # FIXME Don't create a new ZoTime if time is already a ZoTime in same # zone ... # Wait, this seems only used in specs... t = ZoTime.new(time.to_f, @timezone) return false unless sub_match?(t, :sec, @seconds) return false unless sub_match?(t, :min, @minutes) return false unless sub_match?(t, :hour, @hours) return false unless date_match?(t) true end