Ruby on Rails latest stable (v4.2.7) - 0 notes - Class: TimeZone

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

These similar methods exist in v4.2.7:

[](arg) public

Locate a specific time zone object. If the argument is a string, it is interpreted to mean the name of the timezone to locate. If it is a numeric value it is either the hour offset, or the second offset, of the timezone to find. (The first one with that offset will be returned.) Returns nil if no such time zone is known to the system.

Show source
Register or log in to add new notes.