class DateTime
Ruby on Rails 4.2.9
Since v2.2.3No documentation comment.
Inherits from
Includes
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_midday
- # at_middle_of_day
- # at_midnight
- # at_noon
- # beginning_of_day
- # beginning_of_hour
- # beginning_of_minute
- # change
- # default_inspect
- # end_of_day
- # end_of_hour
- # end_of_minute
- # formatted_offset
- # getgm
- # getlocal
- # getutc
- # gmtime
- # in
- # inspect
- # localtime
- # midday
- # middle_of_day
- # midnight
- # noon
- # nsec
- # readable_inspect
- # seconds_since_midnight
- # seconds_until_end_of_day
- # since
- # subsec
- # to_default_s
- # to_f
- # to_formatted_s
- # to_i
- # to_s
- # to_time
- # usec
- # utc
- # utc?
- # utc_offset
- self. civil_from_format
- self. current
Private methods
(2)
Implementation detail — not part of the public API.
Methods (inherited)
From DateAndTime::Zones (1)
From Object (23)
- # <
- # acts_like?
- # blank?
- # create_fixtures
- # deep_dup
- # destroy
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # itself
- # perform
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # with_options
- self. table_name_prefix