Sha256: 7579f71ee24af9370d2a4271b222fc0e779a7b2366108024510ecc544d44ed9c

Contents?: true

Size: 1.64 KB

Versions: 3

Compression:

Stored size: 1.64 KB

Contents

require 'tzinfo/timezone'
module TZInfo
module Definitions #:nodoc:
module Asia #:nodoc:
class Singapore < Timezone #:nodoc:
setup
set_identifier('Asia/Singapore')
add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(8347571291,3456),0,Date::ITALY),24925,0,:LMT)}
add_period(1900,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(8347571291,3456),0,Date::ITALY),DateTime.new0(Rational.new!(8353142363,3456),0,Date::ITALY),24925,0,:SMT)}
add_period(1905,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(8353142363,3456),0,Date::ITALY),DateTime.new0(Rational.new!(58249757,24),0,Date::ITALY),25200,0,:MALT)}
add_period(1932,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(58249757,24),0,Date::ITALY),DateTime.new0(Rational.new!(87414055,36),0,Date::ITALY),25200,1200,:MALST)}
add_period(1935,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(87414055,36),0,Date::ITALY),DateTime.new0(Rational.new!(87488575,36),0,Date::ITALY),26400,0,:MALT)}
add_period(1941,8) {TimezonePeriod.new(DateTime.new0(Rational.new!(87488575,36),0,Date::ITALY),DateTime.new0(Rational.new!(38886499,16),0,Date::ITALY),27000,0,:MALT)}
add_period(1942,2) {TimezonePeriod.new(DateTime.new0(Rational.new!(38886499,16),0,Date::ITALY),DateTime.new0(Rational.new!(19453681,8),0,Date::ITALY),32400,0,:JST)}
add_period(1945,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(19453681,8),0,Date::ITALY),DateTime.new0(Rational.new!(39023699,16),0,Date::ITALY),27000,0,:MALT)}
add_period(1965,8) {TimezonePeriod.new(DateTime.new0(Rational.new!(39023699,16),0,Date::ITALY),378664200,27000,0,:SGT)}
add_period(1981,12) {TimezonePeriod.new(378664200,nil,28800,0,:SGT)}
end
end
end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tzinfo-0.2.0 lib/tzinfo/definitions/Asia/Singapore.rb
tzinfo-0.2.1 lib/tzinfo/definitions/Asia/Singapore.rb
tzinfo-0.2.2 lib/tzinfo/definitions/Asia/Singapore.rb