Class: Time

Inherits:
Object
  • Object
show all
Extended by:
RichUnits::Times::TimeClass
Includes:
RichUnits::Duration::Time, RichUnits::Times::Time
Defined in:
lib/richunits/times.rb,
lib/richunits/duration.rb

Overview

:nodoc:

Constant Summary collapse

NEVER =
Time.mktime(2038)
ZERO =
Time.mktime(1972)

Method Summary

Methods included from RichUnits::Times::TimeClass

days_extrema

Methods included from RichUnits::Duration::Time

#duration

Methods included from RichUnits::Times::Time

#ago, #beginning_of_day, #beginning_of_month, #beginning_of_week, #beginning_of_year, #change, #days_ago, #days_hence, #dst_adjustment, #end_of_day, #hence, #hours_ago, #hours_hence, #in_day_range?, #last_month, #last_year, #minutes_ago, #minutes_hence, #months_ago, #months_hence, #next_month, #next_week, #next_year, #seconds_since_midnight, #set, #tomorrow, #weeks_ago, #weeks_hence, #years_ago, #years_hence, #yesterday