vendor/bundle/ruby/1.8/gems/rufus-scheduler-2.0.16/lib/rufus/sc/cronline.rb
# Returns true if the given time matches this cron line.
#
Returns true if the given time matches this cron line.
Returns true if the given time matches this cron line .
def matches?(time)
      time = Time.at(time) unless time.kind_of?(Time)
      time = @timezone.utc_to_local(time.getutc) if @timezone
      return false unless sub_match?(time.sec, @seconds)
      return false unless sub_match?(time.min, @minutes)
      return false unless sub_match?(time.hour, @hours)
      return false unless date_match?(time)
      true
    end
def matches? ( time ) time = Time . at ( time ) unless time . kind_of? ( Time ) time = @timezone . utc_to_local ( time . getutc ) if @timezone return false unless sub_match? ( time . sec , @seconds ) return false unless sub_match? ( time . min , @minutes ) return false unless sub_match? ( time . hour , @hours ) return false unless date_match? ( time ) true end
Returns true if the given time matches this cron line.
Returns true if the given time matches this cron line .
time