| Class | Time |
| In: |
lib/facet/times.rb
|
| Parent: | Object |
Convenience methods for Time class
Returns a new Time representing the time a number of seconds ago. Do not use this method in combination with x.months, use months_ago instead!
Returns a new Time representing the start of the month (1st of the month, 0:00)
Returns a new Time representing the start of the given day in next week (default is Monday).
Returns a new Time representing the time a number of seconds since the instance time. Do not use this method in combination with x.months, use months_since instead!
Convenience method which returns a new Time representing the time 1 day since the instance time