# # This file is part of the lazier gem. Copyright (C) 2013 and above Shogun . # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit. # module Lazier # Extensions for `TimeZone` objects. module TimeZone extend ::ActiveSupport::Concern # Pattern for a parameterized timezone. ALREADY_PARAMETERIZED = /^[+-]\d{4}@[a-z-]+/ # Pattern for a unparameterized timezone. PARAMETERIZER = /^( \( [a-z]+ # UTC Label (?([+-])(\d{2})(:?)(\d{2})) \) \s(?