class Time
Ruby on Rails 3.0.20
Since v2.2.3No documentation comment.
Inherits from
Constants
Attributes
Methods (defined here)
- # -
- # <=>
- # acts_like_time?
- # advance
- # ago
- # at_beginning_of_day
- # 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_month
- # beginning_of_quarter
- # beginning_of_week
- # beginning_of_year
- # change
- # compare_with_coercion
- # compare_without_coercion
- # _dump
- # _dump_without_utc_flag
- # _dump_without_zone
- # end_of_day
- # end_of_month
- # end_of_quarter
- # end_of_week
- # end_of_year
- # 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_year
- # seconds_since_midnight
- # since
- # to_date
- # to_datetime
- # today?
- # to_default_s
- # to_formatted_s
- # tomorrow
- # to_s
- # to_time
- # years_ago
- # years_since
- # yesterday
- self. ===
- self. current
- self. days_in_month
- 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=
Private methods
(1)
Implementation detail — not part of the public API.
- self. get_zone
Methods (inherited)
From Object (26)
- # acts_like?
- # app
- # blank?
- # controller
- # create
- # create_fixtures
- # destroy
- # duplicable?
- # edit
- # helper
- # html_safe?
- # index
- # instance_variable_names
- # new
- # new_session
- # presence
- # present?
- # reload!
- # returning
- # show
- # to_param
- # to_query
- # try
- # unescape
- # update
- # with_options