# File lib/et-orbi.rb, line 123 def get_tzone(o) return o if o.is_a?(::TZInfo::Timezone) return nil if o == nil return determine_local_tzone if o == :local return ::TZInfo::Timezone.get('Zulu') if o == 'Z' return o.tzinfo if o.respond_to?(:tzinfo) o = to_offset(o) if o.is_a?(Numeric) return nil unless o.is_a?(String) s = unalias(o) get_offset_tzone(s) || get_x_offset_tzone(s) || (::TZInfo::Timezone.get(s) rescue nil) end