Class
Time
In:
lib/sup/util.rb
Parent:
Object
Methods
is_the_day_before?
is_the_same_day?
midnight
nearest_hour
to_indexable_s
to_nice_distance_s
to_nice_s
Constants
TO_NICE_S_MAX_LEN
=
9
Public Instance methods
is_the_day_before?
(other)
is_the_same_day?
(other)
midnight
(
nearest_hour
()
to_indexable_s
()
to_nice_distance_s
(from=Time.now)
to_nice_s
(from=Time.now)
[Validate]