class DateTime
Ruby on Rails 4.0.13
Since v2.2.3No documentation comment.
Inherits from
Methods (defined here)
- # <=>
- # acts_like_date?
- # 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_midnight
- # beginning_of_day
- # beginning_of_hour
- # beginning_of_minute
- # change
- # default_inspect
- # end_of_day
- # end_of_hour
- # end_of_minute
- # formatted_offset
- # future?
- # getutc
- # in
- # inspect
- # in_time_zone
- # midnight
- # nsec
- # past?
- # readable_inspect
- # seconds_since_midnight
- # seconds_until_end_of_day
- # since
- # to_default_s
- # to_f
- # to_formatted_s
- # to_i
- # to_s
- # usec
- # utc
- # utc?
- # utc_offset
- self. civil_from_format
- self. current
- self. local_offset
Private methods
(2)
Implementation detail — not part of the public API.
Methods (inherited)
From Object (20)
- # acts_like?
- # blank?
- # create_fixtures
- # deep_dup
- # destroy
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # present?
- # to_json
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # with_options
- self. table_name_prefix