class Time
Ruby on Rails 3.2.22.5
Since v2.2.3No documentation comment.
Inherits from
Constants
Attributes
Methods (defined here)
- # -
- # <=>
- # acts_like_time?
- # advance
- # ago
- # all_day
- # all_month
- # all_quarter
- # all_week
- # all_year
- # at_beginning_of_day
- # at_beginning_of_hour
- # 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
- # at_midnight
- # beginning_of_day
- # beginning_of_hour
- # beginning_of_month
- # beginning_of_quarter
- # beginning_of_week
- # beginning_of_year
- # change
- # compare_with_coercion
- # compare_without_coercion
- # days_to_week_start
- # _dump
- # _dump_without_utc_flag
- # _dump_without_zone
- # end_of_day
- # end_of_hour
- # end_of_month
- # end_of_quarter
- # end_of_week
- # end_of_year
- # eql?
- # eql_with_coercion
- # eql_without_coercion
- # formatted_offset
- # future?
- # in
- # in_time_zone
- # midnight
- # minus_with_coercion
- # minus_without_coercion
- # minus_without_duration
- # monday
- # months_ago
- # months_since
- # next_month
- # next_week
- # next_year
- # past?
- # prev_month
- # prev_week
- # prev_year
- # seconds_since_midnight
- # since
- # sunday
- # to_date
- # to_datetime
- # today?
- # to_default_s
- # to_formatted_s
- # tomorrow
- # to_s
- # to_time
- # weeks_ago
- # years_ago
- # years_since
- # yesterday
- self. ===
- self. at
- self. at_with_coercion
- self. at_without_coercion
- self. current
- self. days_in_month
- self. find_zone
- self. find_zone!
- self. _load
- self. _load_without_utc_flag
- self. _load_without_zone
- self. local_time
- self. time_with_datetime_fallback
- self. use_zone
- self. utc_time
- self. zone
- self. zone=
Methods (inherited)
From Object (18)
- # acts_like?
- # blank?
- # create_fixtures
- # duplicable?
- # html_safe?
- # in?
- # instance_variable_names
- # options
- # presence
- # present?
- # test_homepage
- # to_json
- # to_param
- # to_query
- # try
- # unescape
- # with_options
- self. table_name_prefix