lib/rufus/scheduler/cronline.rb in rufus-scheduler-3.0.0 vs lib/rufus/scheduler/cronline.rb in rufus-scheduler-3.0.1

- old
+ new

@@ -104,18 +104,18 @@ # Note that the time instance returned will be in the same time zone that # the given start point Time (thus a result in the local time zone will # be passed if no start time is specified (search start time set to # Time.now)) # - # Rufus::CronLine.new('30 7 * * *').next_time( + # Rufus::Scheduler::CronLine.new('30 7 * * *').next_time( # Time.mktime(2008, 10, 24, 7, 29)) # #=> Fri Oct 24 07:30:00 -0500 2008 # - # Rufus::CronLine.new('30 7 * * *').next_time( + # Rufus::Scheduler::CronLine.new('30 7 * * *').next_time( # Time.utc(2008, 10, 24, 7, 29)) # #=> Fri Oct 24 07:30:00 UTC 2008 # - # Rufus::CronLine.new('30 7 * * *').next_time( + # Rufus::Scheduler::CronLine.new('30 7 * * *').next_time( # Time.utc(2008, 10, 24, 7, 29)).localtime # #=> Fri Oct 24 02:30:00 -0500 2008 # # (Thanks to K Liu for the note and the examples) #