Date Time

<=>

acts_like_date?
acts_like_time?

at_beginning_of_day
beginning_of_day

at_beginning_of_hour
beginning_of_hour

at_beginning_of_minute
beginning_of_minute

at_end_of_day
end_of_day

at_end_of_hour
end_of_hour

at_end_of_minute
end_of_minute

at_midday
middle_of_day
noon
at_middle_of_day

advance, ago,
at_midnight, at_noon
change, civil_from_format, current
formatted_offset

in
since

inspect
default_inspect

midday, midnight

readable_inspect
seconds_since_midnight, seconds_until_end_of_day

to_f
to_i

to_s
to_default_s
to_formatted_s

nsec
usec

utc
getutc

utc?
utc_offset
on_weekend?

next_weekday
prev_weekday

最后更新于