Sha256: 18b53dbfbc636955e2b8906202176a6be74eab4262733426ad6a88667fc498a0
Contents?: true
Size: 552 Bytes
Versions: 1
Compression:
Stored size: 552 Bytes
Contents
require 'tzinfo/timezone' module TZInfo module Definitions #:nodoc: module Asia #:nodoc: class Katmandu < Timezone #:nodoc: def initialize super set_identifier('Asia/Katmandu') add_period(TimezonePeriod.new(nil,DateTime.new(1919,12,31,18,18,44),20476,0,'LMT')) add_period(TimezonePeriod.new(DateTime.new(1919,12,31,18,18,44),DateTime.new(1985,12,31,18,30,0),19800,0,'IST')) add_period(TimezonePeriod.new(DateTime.new(1985,12,31,18,30,0),nil,20700,0,'NPT')) 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/Katmandu.rb |