Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
A Time-like class that can represent a time in any time zone. Necessary because standard Ruby Time instances are limited to UTC and the system’s <tt>ENV[‘TZ’]</tt> zone.
You shouldn’t ever need to create a TimeWithZone instance directly via new. Rails provides the methods local, parse, at and now on TimeZone instances, and in_time_zone on Time and DateTime instances, for a more user-friendly syntax.