module Calculations
Ruby on Rails 4.2.9
Since v4.0.13No documentation comment.
Constants
Methods (defined here)
- # all_month
- # all_quarter
- # all_week
- # all_year
- # at_beginning_of_month
- # at_beginning_of_quarter
- # at_beginning_of_week
- # at_beginning_of_year
- # at_end_of_month
- # at_end_of_quarter
- # at_end_of_week
- # at_end_of_year
- # beginning_of_month
- # beginning_of_quarter
- # beginning_of_week
- # beginning_of_year
- # days_ago
- # days_since
- # days_to_week_start
- # end_of_month
- # end_of_quarter
- # end_of_week
- # end_of_year
- # future?
- # last_month
- # last_quarter
- # last_week
- # last_year
- # monday
- # months_ago
- # months_since
- # next_month
- # next_quarter
- # next_week
- # next_year
- # past?
- # prev_month
- # prev_quarter
- # prev_week
- # prev_year
- # sunday
- # today?
- # tomorrow
- # weeks_ago
- # weeks_since
- # years_ago
- # years_since
- # yesterday
Private methods
(3)
Implementation detail — not part of the public API.
- # days_span
- # first_hour
- # last_hour