# File lib/active_support/values/time_zone.rb, line 197 def initialize(name, utc_offset = nil, tzinfo = nil) begin require 'tzinfo' rescue LoadError => e $stderr.puts "You don't have tzinfo installed in your application. Please add it to your Gemfile and run bundle install" raise e end @name = name @utc_offset = utc_offset @tzinfo = tzinfo || TimeZone.find_tzinfo(name) @current_period = nil end