class Time
Ruby on Rails 6.0.6
Since v2.2.3No documentation comment.
Inherits from
Includes
Constants
Attributes
Methods (defined here)
- # -
- # <=>
- # acts_like_time?
- # advance
- # ago
- # at_beginning_of_day
- # at_beginning_of_hour
- # at_beginning_of_minute
- # at_end_of_day
- # at_end_of_hour
- # at_end_of_minute
- # at_midday
- # at_middle_of_day
- # at_midnight
- # at_noon
- # beginning_of_day
- # beginning_of_hour
- # beginning_of_minute
- # change
- # compare_with_coercion
- # compare_without_coercion
- # end_of_day
- # end_of_hour
- # end_of_minute
- # eql?
- # eql_with_coercion
- # eql_without_coercion
- # formatted_offset
- # in
- # midday
- # middle_of_day
- # midnight
- # minus_with_coercion
- # minus_without_coercion
- # minus_without_duration
- # next_day
- # next_month
- # next_year
- # noon
- # prev_day
- # prev_month
- # prev_year
- # sec_fraction
- # seconds_since_midnight
- # seconds_until_end_of_day
- # since
- # to_default_s
- # to_formatted_s
- # to_s
- # to_time
- self. ===
- self. at
- self. at_with_coercion
- self. at_without_coercion
- self. current
- self. days_in_month
- self. days_in_year
- self. find_zone
- self. find_zone!
- self. rfc3339
- self. use_zone
- self. zone
- self. zone=
Methods (inherited)
From DateAndTime::Calculations (54)
- # 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_occurring
- # next_quarter
- # next_week
- # next_weekday
- # on_weekday?
- # on_weekend?
- # past?
- # prev_occurring
- # prev_quarter
- # prev_week
- # prev_weekday
- # sunday
- # today?
- # tomorrow
- # weeks_ago
- # weeks_since
- # years_ago
- # years_since
- # 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!
- # unescape
- # with_options