Sha256: 1e859dea8fd4e529203d062ef20bc43aa0e994cfdc626235893e55318a952ebe
Contents?: true
Size: 771 Bytes
Versions: 1
Compression:
Stored size: 771 Bytes
Contents
require 'tzinfo/timezone' module TZInfo module Definitions #:nodoc: module Asia #:nodoc: class Rangoon < Timezone #:nodoc: def initialize super set_identifier('Asia/Rangoon') add_period(TimezonePeriod.new(nil,DateTime.new(1879,12,31,17,35,20),23080,0,'LMT')) add_period(TimezonePeriod.new(DateTime.new(1879,12,31,17,35,20),DateTime.new(1919,12,31,17,35,24),23076,0,'RMT')) add_period(TimezonePeriod.new(DateTime.new(1919,12,31,17,35,24),DateTime.new(1942,4,30,17,30,0),23400,0,'BURT')) add_period(TimezonePeriod.new(DateTime.new(1942,4,30,17,30,0),DateTime.new(1945,5,2,15,0,0),32400,0,'JST')) add_period(TimezonePeriod.new(DateTime.new(1945,5,2,15,0,0),nil,23400,0,'MMT')) end @@instance = new def self.instance @@instance end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tzinfo-0.0.1 | lib/tzinfo/definitions/Asia/Rangoon.rb |