Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/chronic.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.construct(year, month = 1, day = 1, hour = 0, minute = 0, second = 0) ⇒ Object
107 108 109 110 |
# File 'lib/chronic.rb', line 107 def self.construct(year, month = 1, day = 1, hour = 0, minute = 0, second = 0) warn "Time.construct will be deprecated in version 0.7.0. Please use Chronic.construct instead" Chronic.construct(year, month, day, hour, minute, second) end |