In Files

Parent

Files

Time

Public Class Methods

construct(year, month = 1, day = 1, hour = 0, minute = 0, second = 0) click to toggle source
# File lib/chronic.rb, line 102
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

Public Instance Methods

to_minidate() click to toggle source
# File lib/chronic.rb, line 107
def to_minidate
  warn "Time.to_minidate will be deprecated in version 0.7.0. Please use Chronic::MiniDate.from_time(time) instead"
  Chronic::MiniDate.from_time(self)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.