tzinfo 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of tzinfo might be problematic. Click here for more details.

Files changed (135) hide show
  1. data/CHANGES +23 -18
  2. data/Rakefile +1 -1
  3. data/lib/tzinfo/definitions/Africa/Timbuktu.rb +1 -0
  4. data/lib/tzinfo/definitions/America/Argentina/ComodRivadavia.rb +1 -0
  5. data/lib/tzinfo/definitions/America/Atka.rb +1 -0
  6. data/lib/tzinfo/definitions/America/Buenos_Aires.rb +1 -0
  7. data/lib/tzinfo/definitions/America/Catamarca.rb +1 -0
  8. data/lib/tzinfo/definitions/America/Cordoba.rb +1 -0
  9. data/lib/tzinfo/definitions/America/Ensenada.rb +1 -0
  10. data/lib/tzinfo/definitions/America/Fort_Wayne.rb +1 -0
  11. data/lib/tzinfo/definitions/America/Guatemala.rb +3 -1
  12. data/lib/tzinfo/definitions/America/Indianapolis.rb +1 -0
  13. data/lib/tzinfo/definitions/America/Jujuy.rb +1 -0
  14. data/lib/tzinfo/definitions/America/Knox_IN.rb +1 -0
  15. data/lib/tzinfo/definitions/America/Louisville.rb +1 -0
  16. data/lib/tzinfo/definitions/America/Managua.rb +7 -5
  17. data/lib/tzinfo/definitions/America/Mendoza.rb +1 -0
  18. data/lib/tzinfo/definitions/America/Porto_Acre.rb +1 -0
  19. data/lib/tzinfo/definitions/America/Rosario.rb +1 -0
  20. data/lib/tzinfo/definitions/America/Shiprock.rb +1 -0
  21. data/lib/tzinfo/definitions/America/Tegucigalpa.rb +3 -1
  22. data/lib/tzinfo/definitions/America/Virgin.rb +1 -0
  23. data/lib/tzinfo/definitions/Antarctica/South_Pole.rb +1 -0
  24. data/lib/tzinfo/definitions/Arctic/Longyearbyen.rb +1 -0
  25. data/lib/tzinfo/definitions/Asia/Ashkhabad.rb +1 -0
  26. data/lib/tzinfo/definitions/Asia/Chungking.rb +1 -0
  27. data/lib/tzinfo/definitions/Asia/Dacca.rb +1 -0
  28. data/lib/tzinfo/definitions/Asia/Istanbul.rb +1 -0
  29. data/lib/tzinfo/definitions/Asia/Macao.rb +1 -0
  30. data/lib/tzinfo/definitions/Asia/Tel_Aviv.rb +1 -0
  31. data/lib/tzinfo/definitions/Asia/Thimbu.rb +1 -0
  32. data/lib/tzinfo/definitions/Asia/Ujung_Pandang.rb +1 -0
  33. data/lib/tzinfo/definitions/Asia/Ulan_Bator.rb +1 -0
  34. data/lib/tzinfo/definitions/Atlantic/Jan_Mayen.rb +1 -0
  35. data/lib/tzinfo/definitions/Australia/ACT.rb +1 -0
  36. data/lib/tzinfo/definitions/Australia/Canberra.rb +1 -0
  37. data/lib/tzinfo/definitions/Australia/LHI.rb +1 -0
  38. data/lib/tzinfo/definitions/Australia/NSW.rb +1 -0
  39. data/lib/tzinfo/definitions/Australia/North.rb +1 -0
  40. data/lib/tzinfo/definitions/Australia/Queensland.rb +1 -0
  41. data/lib/tzinfo/definitions/Australia/South.rb +1 -0
  42. data/lib/tzinfo/definitions/Australia/Tasmania.rb +1 -0
  43. data/lib/tzinfo/definitions/Australia/Victoria.rb +1 -0
  44. data/lib/tzinfo/definitions/Australia/West.rb +1 -0
  45. data/lib/tzinfo/definitions/Australia/Yancowinna.rb +1 -0
  46. data/lib/tzinfo/definitions/Brazil/Acre.rb +1 -0
  47. data/lib/tzinfo/definitions/Brazil/DeNoronha.rb +1 -0
  48. data/lib/tzinfo/definitions/Brazil/East.rb +1 -0
  49. data/lib/tzinfo/definitions/Brazil/West.rb +1 -0
  50. data/lib/tzinfo/definitions/Canada/Atlantic.rb +1 -0
  51. data/lib/tzinfo/definitions/Canada/Central.rb +1 -0
  52. data/lib/tzinfo/definitions/Canada/East__m__Saskatchewan.rb +1 -0
  53. data/lib/tzinfo/definitions/Canada/Eastern.rb +1 -0
  54. data/lib/tzinfo/definitions/Canada/Mountain.rb +1 -0
  55. data/lib/tzinfo/definitions/Canada/Newfoundland.rb +1 -0
  56. data/lib/tzinfo/definitions/Canada/Pacific.rb +1 -0
  57. data/lib/tzinfo/definitions/Canada/Saskatchewan.rb +1 -0
  58. data/lib/tzinfo/definitions/Canada/Yukon.rb +1 -0
  59. data/lib/tzinfo/definitions/Chile/Continental.rb +1 -0
  60. data/lib/tzinfo/definitions/Chile/EasterIsland.rb +1 -0
  61. data/lib/tzinfo/definitions/Cuba.rb +1 -0
  62. data/lib/tzinfo/definitions/Egypt.rb +1 -0
  63. data/lib/tzinfo/definitions/Eire.rb +1 -0
  64. data/lib/tzinfo/definitions/Etc/GMT0.rb +1 -0
  65. data/lib/tzinfo/definitions/Etc/GMT__m__0.rb +1 -0
  66. data/lib/tzinfo/definitions/Etc/GMT__p__0.rb +1 -0
  67. data/lib/tzinfo/definitions/Etc/Greenwich.rb +1 -0
  68. data/lib/tzinfo/definitions/Etc/Universal.rb +1 -0
  69. data/lib/tzinfo/definitions/Etc/Zulu.rb +1 -0
  70. data/lib/tzinfo/definitions/Europe/Belfast.rb +1 -0
  71. data/lib/tzinfo/definitions/Europe/Bratislava.rb +1 -0
  72. data/lib/tzinfo/definitions/Europe/Ljubljana.rb +1 -0
  73. data/lib/tzinfo/definitions/Europe/Mariehamn.rb +1 -0
  74. data/lib/tzinfo/definitions/Europe/Nicosia.rb +1 -0
  75. data/lib/tzinfo/definitions/Europe/San_Marino.rb +1 -0
  76. data/lib/tzinfo/definitions/Europe/Sarajevo.rb +1 -0
  77. data/lib/tzinfo/definitions/Europe/Skopje.rb +1 -0
  78. data/lib/tzinfo/definitions/Europe/Tiraspol.rb +1 -0
  79. data/lib/tzinfo/definitions/Europe/Vatican.rb +1 -0
  80. data/lib/tzinfo/definitions/Europe/Zagreb.rb +1 -0
  81. data/lib/tzinfo/definitions/GB.rb +1 -0
  82. data/lib/tzinfo/definitions/GB__m__Eire.rb +1 -0
  83. data/lib/tzinfo/definitions/GMT.rb +1 -0
  84. data/lib/tzinfo/definitions/GMT0.rb +1 -0
  85. data/lib/tzinfo/definitions/GMT__m__0.rb +1 -0
  86. data/lib/tzinfo/definitions/GMT__p__0.rb +1 -0
  87. data/lib/tzinfo/definitions/Greenwich.rb +1 -0
  88. data/lib/tzinfo/definitions/Hongkong.rb +1 -0
  89. data/lib/tzinfo/definitions/Iceland.rb +1 -0
  90. data/lib/tzinfo/definitions/Iran.rb +1 -0
  91. data/lib/tzinfo/definitions/Israel.rb +1 -0
  92. data/lib/tzinfo/definitions/Jamaica.rb +1 -0
  93. data/lib/tzinfo/definitions/Japan.rb +1 -0
  94. data/lib/tzinfo/definitions/Kwajalein.rb +1 -0
  95. data/lib/tzinfo/definitions/Libya.rb +1 -0
  96. data/lib/tzinfo/definitions/Mexico/BajaNorte.rb +1 -0
  97. data/lib/tzinfo/definitions/Mexico/BajaSur.rb +1 -0
  98. data/lib/tzinfo/definitions/Mexico/General.rb +1 -0
  99. data/lib/tzinfo/definitions/Mideast/Riyadh87.rb +1 -0
  100. data/lib/tzinfo/definitions/Mideast/Riyadh88.rb +1 -0
  101. data/lib/tzinfo/definitions/Mideast/Riyadh89.rb +1 -0
  102. data/lib/tzinfo/definitions/NZ.rb +1 -0
  103. data/lib/tzinfo/definitions/NZ__m__CHAT.rb +1 -0
  104. data/lib/tzinfo/definitions/Navajo.rb +1 -0
  105. data/lib/tzinfo/definitions/PRC.rb +1 -0
  106. data/lib/tzinfo/definitions/Pacific/Samoa.rb +1 -0
  107. data/lib/tzinfo/definitions/Pacific/Yap.rb +1 -0
  108. data/lib/tzinfo/definitions/Poland.rb +1 -0
  109. data/lib/tzinfo/definitions/Portugal.rb +1 -0
  110. data/lib/tzinfo/definitions/ROC.rb +1 -0
  111. data/lib/tzinfo/definitions/ROK.rb +1 -0
  112. data/lib/tzinfo/definitions/Singapore.rb +1 -0
  113. data/lib/tzinfo/definitions/Turkey.rb +1 -0
  114. data/lib/tzinfo/definitions/UCT.rb +1 -0
  115. data/lib/tzinfo/definitions/US/Alaska.rb +1 -0
  116. data/lib/tzinfo/definitions/US/Aleutian.rb +1 -0
  117. data/lib/tzinfo/definitions/US/Arizona.rb +1 -0
  118. data/lib/tzinfo/definitions/US/Central.rb +1 -0
  119. data/lib/tzinfo/definitions/US/East__m__Indiana.rb +1 -0
  120. data/lib/tzinfo/definitions/US/Eastern.rb +1 -0
  121. data/lib/tzinfo/definitions/US/Hawaii.rb +1 -0
  122. data/lib/tzinfo/definitions/US/Indiana__m__Starke.rb +1 -0
  123. data/lib/tzinfo/definitions/US/Michigan.rb +1 -0
  124. data/lib/tzinfo/definitions/US/Mountain.rb +1 -0
  125. data/lib/tzinfo/definitions/US/Pacific.rb +1 -0
  126. data/lib/tzinfo/definitions/US/Pacific__m__New.rb +1 -0
  127. data/lib/tzinfo/definitions/US/Samoa.rb +1 -0
  128. data/lib/tzinfo/definitions/UTC.rb +1 -0
  129. data/lib/tzinfo/definitions/Universal.rb +1 -0
  130. data/lib/tzinfo/definitions/W__m__SU.rb +1 -0
  131. data/lib/tzinfo/definitions/Zulu.rb +1 -0
  132. data/lib/tzinfo/timezone.rb +15 -5
  133. data/lib/tzinfo/tzdataparser.rb +1 -0
  134. data/test/tc_timezone.rb +33 -0
  135. metadata +2 -2
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Etc/GMT'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Greenwich < Definitions::Etc::GMT #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Greenwich')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Asia/Hong_Kong'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Hongkong < Definitions::Asia::Hong_Kong #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Hongkong')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Atlantic/Reykjavik'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Iceland < Definitions::Atlantic::Reykjavik #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Iceland')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Asia/Tehran'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Iran < Definitions::Asia::Tehran #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Iran')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Asia/Jerusalem'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Israel < Definitions::Asia::Jerusalem #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Israel')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/America/Jamaica'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Jamaica < Definitions::America::Jamaica #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Jamaica')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Asia/Tokyo'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Japan < Definitions::Asia::Tokyo #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Japan')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Pacific/Kwajalein'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Kwajalein < Definitions::Pacific::Kwajalein #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Kwajalein')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Africa/Tripoli'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Libya < Definitions::Africa::Tripoli #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Libya')
7
8
  end
8
9
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module Mexico #:nodoc:
6
6
  class BajaNorte < Definitions::America::Tijuana #:nodoc:
7
+ setup_linked
7
8
  set_identifier('Mexico/BajaNorte')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module Mexico #:nodoc:
6
6
  class BajaSur < Definitions::America::Mazatlan #:nodoc:
7
+ setup_linked
7
8
  set_identifier('Mexico/BajaSur')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module Mexico #:nodoc:
6
6
  class General < Definitions::America::Mexico_City #:nodoc:
7
+ setup_linked
7
8
  set_identifier('Mexico/General')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module Mideast #:nodoc:
6
6
  class Riyadh87 < Definitions::Asia::Riyadh87 #:nodoc:
7
+ setup_linked
7
8
  set_identifier('Mideast/Riyadh87')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module Mideast #:nodoc:
6
6
  class Riyadh88 < Definitions::Asia::Riyadh88 #:nodoc:
7
+ setup_linked
7
8
  set_identifier('Mideast/Riyadh88')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module Mideast #:nodoc:
6
6
  class Riyadh89 < Definitions::Asia::Riyadh89 #:nodoc:
7
+ setup_linked
7
8
  set_identifier('Mideast/Riyadh89')
8
9
  end
9
10
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Pacific/Auckland'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class NZ < Definitions::Pacific::Auckland #:nodoc:
6
+ setup_linked
6
7
  set_identifier('NZ')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Pacific/Chatham'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class NZ__m__CHAT < Definitions::Pacific::Chatham #:nodoc:
6
+ setup_linked
6
7
  set_identifier('NZ-CHAT')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/America/Denver'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Navajo < Definitions::America::Denver #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Navajo')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Asia/Shanghai'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class PRC < Definitions::Asia::Shanghai #:nodoc:
6
+ setup_linked
6
7
  set_identifier('PRC')
7
8
  end
8
9
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module Pacific #:nodoc:
6
6
  class Samoa < Definitions::Pacific::Pago_Pago #:nodoc:
7
+ setup_linked
7
8
  set_identifier('Pacific/Samoa')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module Pacific #:nodoc:
6
6
  class Yap < Definitions::Pacific::Truk #:nodoc:
7
+ setup_linked
7
8
  set_identifier('Pacific/Yap')
8
9
  end
9
10
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Europe/Warsaw'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Poland < Definitions::Europe::Warsaw #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Poland')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Europe/Lisbon'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Portugal < Definitions::Europe::Lisbon #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Portugal')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Asia/Taipei'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class ROC < Definitions::Asia::Taipei #:nodoc:
6
+ setup_linked
6
7
  set_identifier('ROC')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Asia/Seoul'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class ROK < Definitions::Asia::Seoul #:nodoc:
6
+ setup_linked
6
7
  set_identifier('ROK')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Asia/Singapore'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Singapore < Definitions::Asia::Singapore #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Singapore')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Europe/Istanbul'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Turkey < Definitions::Europe::Istanbul #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Turkey')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Etc/UCT'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class UCT < Definitions::Etc::UCT #:nodoc:
6
+ setup_linked
6
7
  set_identifier('UCT')
7
8
  end
8
9
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module US #:nodoc:
6
6
  class Alaska < Definitions::America::Anchorage #:nodoc:
7
+ setup_linked
7
8
  set_identifier('US/Alaska')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module US #:nodoc:
6
6
  class Aleutian < Definitions::America::Adak #:nodoc:
7
+ setup_linked
7
8
  set_identifier('US/Aleutian')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module US #:nodoc:
6
6
  class Arizona < Definitions::America::Phoenix #:nodoc:
7
+ setup_linked
7
8
  set_identifier('US/Arizona')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module US #:nodoc:
6
6
  class Central < Definitions::America::Chicago #:nodoc:
7
+ setup_linked
7
8
  set_identifier('US/Central')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module US #:nodoc:
6
6
  class East__m__Indiana < Definitions::America::Indiana::Indianapolis #:nodoc:
7
+ setup_linked
7
8
  set_identifier('US/East-Indiana')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module US #:nodoc:
6
6
  class Eastern < Definitions::America::New_York #:nodoc:
7
+ setup_linked
7
8
  set_identifier('US/Eastern')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module US #:nodoc:
6
6
  class Hawaii < Definitions::Pacific::Honolulu #:nodoc:
7
+ setup_linked
7
8
  set_identifier('US/Hawaii')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module US #:nodoc:
6
6
  class Indiana__m__Starke < Definitions::America::Indiana::Knox #:nodoc:
7
+ setup_linked
7
8
  set_identifier('US/Indiana-Starke')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module US #:nodoc:
6
6
  class Michigan < Definitions::America::Detroit #:nodoc:
7
+ setup_linked
7
8
  set_identifier('US/Michigan')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module US #:nodoc:
6
6
  class Mountain < Definitions::America::Denver #:nodoc:
7
+ setup_linked
7
8
  set_identifier('US/Mountain')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module US #:nodoc:
6
6
  class Pacific < Definitions::America::Los_Angeles #:nodoc:
7
+ setup_linked
7
8
  set_identifier('US/Pacific')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module US #:nodoc:
6
6
  class Pacific__m__New < Definitions::America::Los_Angeles #:nodoc:
7
+ setup_linked
7
8
  set_identifier('US/Pacific-New')
8
9
  end
9
10
  end
@@ -4,6 +4,7 @@ module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  module US #:nodoc:
6
6
  class Samoa < Definitions::Pacific::Pago_Pago #:nodoc:
7
+ setup_linked
7
8
  set_identifier('US/Samoa')
8
9
  end
9
10
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Etc/UTC'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class UTC < Definitions::Etc::UTC #:nodoc:
6
+ setup_linked
6
7
  set_identifier('UTC')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Etc/UTC'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Universal < Definitions::Etc::UTC #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Universal')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Europe/Moscow'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class W__m__SU < Definitions::Europe::Moscow #:nodoc:
6
+ setup_linked
6
7
  set_identifier('W-SU')
7
8
  end
8
9
  end
@@ -3,6 +3,7 @@ require 'tzinfo/definitions/Etc/UTC'
3
3
  module TZInfo
4
4
  module Definitions #:nodoc:
5
5
  class Zulu < Definitions::Etc::UTC #:nodoc:
6
+ setup_linked
6
7
  set_identifier('Zulu')
7
8
  end
8
9
  end
@@ -380,14 +380,14 @@ module TZInfo
380
380
  def self.setup
381
381
  class_eval <<CODE
382
382
  @@periods = TimezonePeriodList.new
383
- @@instance = new
383
+ @instance = new
384
384
 
385
385
  def identifier
386
- @@identifier
386
+ self.class.get_identifier
387
387
  end
388
388
 
389
389
  def self.instance
390
- @@instance
390
+ @instance
391
391
  end
392
392
 
393
393
  def periods
@@ -404,8 +404,18 @@ module TZInfo
404
404
  end
405
405
 
406
406
  def self.set_identifier(identifier)
407
- @@identifier = identifier
408
- end
407
+ @identifier = identifier
408
+ end
409
+
410
+ def self.get_identifier
411
+ @identifier
412
+ end
413
+ CODE
414
+ end
415
+
416
+ def self.setup_linked
417
+ class_eval <<CODE
418
+ @instance = new
409
419
  CODE
410
420
  end
411
421
  end