APIdock
/
Ruby on Rails
/
Browse
About
method
create
v5.2.3
-
Show latest stable
- Class:
ActiveSupport
::
TimeZone
create
(name)
public
Alias for ActiveSupport::TimeZone::new
Related methods
Instance methods
<=>
=~
at
encode_with
formatted_offset
init_with
iso8601
local
local_to_utc
now
parse
period_for_local
period_for_utc
periods_for_local
rfc3339
strptime
to_s
today
tomorrow
utc_offset
utc_to_local
yesterday
Class methods
[]
all
clear
country_zones
create
find_tzinfo
new
new
seconds_to_utc_offset
us_zones
Private methods
load_country_zones
zones_map
parts_to_time
time_now