def initialize(s, zone)
z = zone
z = nil if zone.is_a?(String) && zone.strip == ''
@seconds = s.to_f
@zone = self.class.get_tzone(z || :local)
fail ArgumentError.new(
"Cannot determine timezone from #{zone.inspect}" +
"\n#{EtOrbi.render_nozone_time(@seconds)}" +
"\n#{EtOrbi.platform_info.sub(',debian:', ",\ndebian:")}" +
"\nTry setting `ENV['TZ'] = 'Continent/City'` in your script " +
"(see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)" +
(defined?(TZInfo::Data) ? '' : "\nand adding gem 'tzinfo-data'")
) unless @zone
@time = nil
end