Method: Async::Cron::Time#to_time
- Defined in:
- lib/async/cron/time.rb
#to_time ⇒ Object
110 111 112 113 114 |
# File 'lib/async/cron/time.rb', line 110 def to_time normalized = self.dup.normalize! return ::Time.new(normalized.years, normalized.months+1, normalized.days+1, normalized.hours, normalized.minutes, normalized.seconds, normalized.offset) end |