_load(marshaled_time) Class Public methods Also aliased as: _load_without_zone
_load_without_zone(marshaled_time) Class Public methods Alias for: _load
at(*args) Class Public methods Also aliased as: at_without_coercion
at_with_coercion(*args) Class Public methods Layers additional behavior on ::at so that ActiveSupport::TimeWithZone and DateTime instances can be used when called with a single argument at
at_without_coercion(*args) Class Public methods Alias for: at
current() Class Public methods Returns Time.zone.now when Time.zone or config.time_zone are set, otherwise just returns Time.now.
days_in_month(month, year = now.year) Class Public methods Return the number of days in the given month. If no year is specified, it will use the current year.
find_zone(time_zone) Class Public methods
find_zone!(time_zone) Class Public methods Returns a TimeZone instance or nil, or raises an ArgumentError for invalid timezones.
use_zone(time_zone) Class Public methods Allows override of Time.zone locally inside supplied block; resets Time.zone to existing value when done.
Page 2326 of 11844