class Date
Ruby on Rails 7.2.3
Since v2.2.3No documentation comment.
Inherits from
Includes
Constants
Attributes
Methods (defined here)
- # <=>
- # acts_like_date?
- # advance
- # ago
- # at_beginning_of_day
- # at_end_of_day
- # at_midday
- # at_middle_of_day
- # at_midnight
- # at_noon
- # beginning_of_day
- # change
- # compare_with_coercion
- # compare_without_coercion
- # default_inspect
- # end_of_day
- # in
- # inspect
- # midday
- # middle_of_day
- # midnight
- # noon
- # readable_inspect
- # since
- # to_formatted_s
- # to_fs
- # to_time
- # xmlschema
- self. beginning_of_week
- self. beginning_of_week=
- self. current
- self. find_beginning_of_week!
- self. tomorrow
- self. yesterday
Methods (inherited)
From DateAndTime::Calculations (59)
- # after?
- # all_day
- # 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
- # before?
- # 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_weekday
- # last_year
- # monday
- # months_ago
- # months_since
- # next_day?
- # next_occurring
- # next_quarter
- # next_week
- # next_weekday
- # on_weekday?
- # on_weekend?
- # past?
- # prev_day?
- # prev_occurring
- # prev_quarter
- # prev_week
- # prev_weekday
- # quarter
- # sunday
- # today?
- # tomorrow
- # tomorrow?
- # weeks_ago
- # weeks_since
- # years_ago
- # years_since
- # yesterday
- # yesterday?
From DateAndTime::Zones (1)
From Object (17)
- # acts_like?
- # blank?
- # deep_dup
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # with
- # with_options
From ActiveSupport::NumericWithFormat (2)
- # to_formatted_s
- # to_fs