packwerk 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/lib/packwerk/checker.rb +3 -3
  3. data/lib/packwerk/offenses_formatter.rb +3 -3
  4. data/lib/packwerk/package_todo.rb +1 -4
  5. data/lib/packwerk/parsers/factory.rb +3 -3
  6. data/lib/packwerk/parsers/ruby.rb +7 -0
  7. data/lib/packwerk/reference_offense.rb +1 -1
  8. data/lib/packwerk/validator.rb +3 -3
  9. data/lib/packwerk/version.rb +1 -1
  10. data/sorbet/rbi/gems/actionpack@7.0.3.1.rbi +3280 -3450
  11. data/sorbet/rbi/gems/actionview@7.0.3.1.rbi +2322 -1782
  12. data/sorbet/rbi/gems/activesupport@7.0.3.1.rbi +2654 -3268
  13. data/sorbet/rbi/gems/ast@2.4.2.rbi +535 -6
  14. data/sorbet/rbi/gems/better_html@2.0.1.rbi +529 -0
  15. data/sorbet/rbi/gems/builder@3.2.4.rbi +4 -4
  16. data/sorbet/rbi/gems/byebug@11.1.3.rbi +32 -4
  17. data/sorbet/rbi/gems/concurrent-ruby@1.1.10.rbi +1750 -1840
  18. data/sorbet/rbi/gems/constant_resolver@0.2.0.rbi +15 -15
  19. data/sorbet/rbi/gems/crass@1.0.6.rbi +489 -5
  20. data/sorbet/rbi/gems/erubi@1.11.0.rbi +24 -21
  21. data/sorbet/rbi/gems/i18n@1.12.0.rbi +395 -395
  22. data/sorbet/rbi/gems/json@2.6.2.rbi +70 -77
  23. data/sorbet/rbi/gems/language_server-protocol@3.16.0.3.rbi +1 -1
  24. data/sorbet/rbi/gems/loofah@2.18.0.rbi +134 -134
  25. data/sorbet/rbi/gems/m@1.6.0.rbi +60 -60
  26. data/sorbet/rbi/gems/method_source@1.1.0.rbi +303 -0
  27. data/sorbet/rbi/gems/minitest-focus@1.3.1.rbi +22 -28
  28. data/sorbet/rbi/gems/minitest@5.16.2.rbi +384 -396
  29. data/sorbet/rbi/gems/mocha@1.14.0.rbi +589 -589
  30. data/sorbet/rbi/gems/netrc@0.11.0.rbi +37 -32
  31. data/sorbet/rbi/gems/nokogiri@1.15.3.rbi +962 -946
  32. data/sorbet/rbi/gems/{parallel@1.22.1.rbi → parallel@1.24.0.rbi} +85 -82
  33. data/sorbet/rbi/gems/{parser@3.2.2.0.rbi → parser@3.3.1.0.rbi} +1679 -1609
  34. data/sorbet/rbi/gems/prettier_print@0.1.0.rbi +1 -1
  35. data/sorbet/rbi/gems/{prism@0.24.0.rbi → prism@0.27.0.rbi} +13473 -6472
  36. data/sorbet/rbi/gems/{racc@1.6.0.rbi → racc@1.7.1.rbi} +42 -33
  37. data/sorbet/rbi/gems/rack-test@2.0.2.rbi +148 -338
  38. data/sorbet/rbi/gems/rack@2.2.4.rbi +1079 -1130
  39. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +354 -22
  40. data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +113 -259
  41. data/sorbet/rbi/gems/railties@7.0.3.1.rbi +642 -638
  42. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +109 -99
  43. data/sorbet/rbi/gems/rake@13.0.6.rbi +714 -599
  44. data/sorbet/rbi/gems/{rbi@0.0.15.rbi → rbi@0.1.12.rbi} +865 -801
  45. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +853 -870
  46. data/sorbet/rbi/gems/rexml@3.2.5.rbi +480 -477
  47. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +1621 -1622
  48. data/sorbet/rbi/gems/rubocop-performance@1.14.3.rbi +507 -526
  49. data/sorbet/rbi/gems/rubocop-shopify@2.9.0.rbi +1 -1
  50. data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +186 -203
  51. data/sorbet/rbi/gems/rubocop@1.34.1.rbi +8126 -8367
  52. data/sorbet/rbi/gems/{ruby-lsp@0.2.1.rbi → ruby-lsp@0.2.3.rbi} +2 -2
  53. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1235 -4
  54. data/sorbet/rbi/gems/smart_properties@1.17.0.rbi +90 -90
  55. data/sorbet/rbi/gems/spoom@1.3.2.rbi +4420 -0
  56. data/sorbet/rbi/gems/spring@4.0.0.rbi +104 -104
  57. data/sorbet/rbi/gems/syntax_tree@3.3.0.rbi +1 -1
  58. data/sorbet/rbi/gems/{tapioca@0.9.2.rbi → tapioca@0.13.3.rbi} +1596 -1253
  59. data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.3.1.rbi} +1047 -652
  60. data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +531 -513
  61. data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +13 -13
  62. data/sorbet/rbi/gems/{yard-sorbet@0.6.1.rbi → yard-sorbet@0.8.1.rbi} +132 -92
  63. data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.36.rbi} +3158 -3067
  64. data/sorbet/rbi/gems/zeitwerk@2.6.4.rbi +149 -145
  65. metadata +18 -76
  66. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -27
  67. data/.github/pull_request_template.md +0 -28
  68. data/.github/workflows/ci.yml +0 -93
  69. data/.github/workflows/cla.yml +0 -22
  70. data/.gitignore +0 -13
  71. data/.rubocop.yml +0 -75
  72. data/.ruby-version +0 -1
  73. data/CODEOWNERS +0 -1
  74. data/CODE_OF_CONDUCT.md +0 -76
  75. data/CONTRIBUTING.md +0 -17
  76. data/Gemfile +0 -27
  77. data/Gemfile.lock +0 -206
  78. data/RESOLVING_VIOLATIONS.md +0 -76
  79. data/Rakefile +0 -22
  80. data/TROUBLESHOOT.md +0 -44
  81. data/UPGRADING.md +0 -66
  82. data/USAGE.md +0 -364
  83. data/bin/console +0 -15
  84. data/bin/m +0 -29
  85. data/bin/rake +0 -29
  86. data/bin/rubocop +0 -29
  87. data/bin/setup +0 -8
  88. data/bin/srb +0 -29
  89. data/bin/tapioca +0 -29
  90. data/dev.yml +0 -32
  91. data/docs/cohesion.png +0 -0
  92. data/gemfiles/Gemfile-rails-6-0 +0 -22
  93. data/gemfiles/Gemfile-rails-6-1 +0 -22
  94. data/packwerk.gemspec +0 -59
  95. data/shipit.rubygems.yml +0 -5
  96. data/sorbet/rbi/gems/actioncable@7.0.3.1.rbi +0 -2754
  97. data/sorbet/rbi/gems/actionmailbox@7.0.3.1.rbi +0 -1496
  98. data/sorbet/rbi/gems/actionmailer@7.0.3.1.rbi +0 -2362
  99. data/sorbet/rbi/gems/actiontext@7.0.3.1.rbi +0 -1569
  100. data/sorbet/rbi/gems/activejob@7.0.3.1.rbi +0 -2553
  101. data/sorbet/rbi/gems/activemodel@7.0.3.1.rbi +0 -5999
  102. data/sorbet/rbi/gems/activerecord@7.0.3.1.rbi +0 -37832
  103. data/sorbet/rbi/gems/activestorage@7.0.3.1.rbi +0 -2321
  104. data/sorbet/rbi/gems/better_html@1.0.16.rbi +0 -317
  105. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  106. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1079
  107. data/sorbet/rbi/gems/digest@3.1.0.rbi +0 -189
  108. data/sorbet/rbi/gems/globalid@1.0.0.rbi +0 -572
  109. data/sorbet/rbi/gems/mail@2.7.1.rbi +0 -2490
  110. data/sorbet/rbi/gems/marcel@1.0.2.rbi +0 -220
  111. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -76
  112. data/sorbet/rbi/gems/mini_mime@1.1.2.rbi +0 -170
  113. data/sorbet/rbi/gems/net-imap@0.2.3.rbi +0 -2147
  114. data/sorbet/rbi/gems/net-pop@0.1.1.rbi +0 -926
  115. data/sorbet/rbi/gems/net-protocol@0.1.3.rbi +0 -11
  116. data/sorbet/rbi/gems/net-smtp@0.3.1.rbi +0 -1108
  117. data/sorbet/rbi/gems/nio4r@2.5.8.rbi +0 -292
  118. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  119. data/sorbet/rbi/gems/rails@7.0.3.1.rbi +0 -8
  120. data/sorbet/rbi/gems/spoom@1.1.11.rbi +0 -2181
  121. data/sorbet/rbi/gems/strscan@3.0.4.rbi +0 -8
  122. data/sorbet/rbi/gems/timeout@0.3.0.rbi +0 -142
  123. data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -4529
  124. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2582
  125. data/sorbet/rbi/gems/websocket-driver@0.7.5.rbi +0 -993
  126. data/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi +0 -71
@@ -6,7 +6,7 @@
6
6
 
7
7
  # The top level module for TZInfo.
8
8
  #
9
- # source://tzinfo-2.0.5/lib/tzinfo.rb:5
9
+ # source://tzinfo//lib/tzinfo.rb#5
10
10
  module TZInfo
11
11
  class << self
12
12
  # Instructs the current {DataSource} to load all timezone and country data
@@ -17,7 +17,7 @@ module TZInfo
17
17
  # performance and to avoid flushing the constant cache every time a new
18
18
  # timezone or country is loaded from {DataSources::RubyDataSource}.
19
19
  #
20
- # source://tzinfo-2.0.5/lib/tzinfo.rb:14
20
+ # source://tzinfo//lib/tzinfo.rb#14
21
21
  def eager_load!; end
22
22
  end
23
23
  end
@@ -32,7 +32,7 @@ end
32
32
  #
33
33
  # @private
34
34
  #
35
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:129
35
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#129
36
36
  class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule
37
37
  # Initializes a new {AbsoluteDayOfYearTransitionRule}.
38
38
  #
@@ -45,7 +45,7 @@ class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRul
45
45
  # @raise [ArgumentError] if `day` is less than 0 or greater than 365.
46
46
  # @return [AbsoluteDayOfYearTransitionRule] a new instance of AbsoluteDayOfYearTransitionRule
47
47
  #
48
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:130
48
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#130
49
49
  def initialize(day, transition_at = T.unsafe(nil)); end
50
50
 
51
51
  # Determines if this {AbsoluteDayOfYearTransitionRule} is equal to another
@@ -56,7 +56,7 @@ class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRul
56
56
  # with the same {transition_at} and day as this
57
57
  # {AbsoluteDayOfYearTransitionRule}, otherwise `false`.
58
58
  #
59
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:153
59
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#153
60
60
  def ==(r); end
61
61
 
62
62
  # Determines if this {AbsoluteDayOfYearTransitionRule} is equal to another
@@ -67,18 +67,18 @@ class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRul
67
67
  # with the same {transition_at} and day as this
68
68
  # {AbsoluteDayOfYearTransitionRule}, otherwise `false`.
69
69
  #
70
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:153
70
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#153
71
71
  def eql?(r); end
72
72
 
73
73
  # @return [Boolean] `true` if the day specified by this transition is the
74
74
  # first in the year (a day number of 0), otherwise `false`.
75
75
  #
76
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:137
76
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#137
77
77
  def is_always_first_day_of_year?; end
78
78
 
79
79
  # @return [Boolean] `false`.
80
80
  #
81
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:142
81
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#142
82
82
  def is_always_last_day_of_year?; end
83
83
 
84
84
  protected
@@ -92,13 +92,13 @@ class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRul
92
92
  # @return [Time] midnight local time on the day specified by the rule for
93
93
  # the given offset and year.
94
94
  #
95
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:168
95
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#168
96
96
  def get_day(offset, year); end
97
97
 
98
98
  # @return [Array] an `Array` of parameters that will influence the output of
99
99
  # {hash}.
100
100
  #
101
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:173
101
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#173
102
102
  def hash_args; end
103
103
  end
104
104
 
@@ -112,7 +112,7 @@ end
112
112
  # and {Timezone#period_for_local} when using an ambiguous time and not
113
113
  # specifying how to resolve the ambiguity.
114
114
  #
115
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:16
115
+ # source://tzinfo//lib/tzinfo/timezone.rb#16
116
116
  class TZInfo::AmbiguousTime < ::StandardError; end
117
117
 
118
118
  # A set of rules that define when transitions occur in time zones with
@@ -120,7 +120,7 @@ class TZInfo::AmbiguousTime < ::StandardError; end
120
120
  #
121
121
  # @private
122
122
  #
123
- # source://tzinfo-2.0.5/lib/tzinfo/annual_rules.rb:9
123
+ # source://tzinfo//lib/tzinfo/annual_rules.rb#9
124
124
  class TZInfo::AnnualRules
125
125
  # Initializes a new {AnnualRules} instance.
126
126
  #
@@ -134,31 +134,31 @@ class TZInfo::AnnualRules
134
134
  # savings time ends.
135
135
  # @return [AnnualRules] a new instance of AnnualRules
136
136
  #
137
- # source://tzinfo-2.0.5/lib/tzinfo/annual_rules.rb:36
137
+ # source://tzinfo//lib/tzinfo/annual_rules.rb#36
138
138
  def initialize(std_offset, dst_offset, dst_start_rule, dst_end_rule); end
139
139
 
140
140
  # @return [TransitionRule] the rule that determines when daylight savings
141
141
  # time ends.
142
142
  #
143
- # source://tzinfo-2.0.5/lib/tzinfo/annual_rules.rb:24
143
+ # source://tzinfo//lib/tzinfo/annual_rules.rb#24
144
144
  def dst_end_rule; end
145
145
 
146
146
  # @return [TimezoneOffset] the offset that applies when daylight savings
147
147
  # time is in force.
148
148
  #
149
- # source://tzinfo-2.0.5/lib/tzinfo/annual_rules.rb:16
149
+ # source://tzinfo//lib/tzinfo/annual_rules.rb#16
150
150
  def dst_offset; end
151
151
 
152
152
  # @return [TransitionRule] the rule that determines when daylight savings
153
153
  # time starts.
154
154
  #
155
- # source://tzinfo-2.0.5/lib/tzinfo/annual_rules.rb:20
155
+ # source://tzinfo//lib/tzinfo/annual_rules.rb#20
156
156
  def dst_start_rule; end
157
157
 
158
158
  # @return [TimezoneOffset] the standard offset that applies when daylight
159
159
  # savings time is not in force.
160
160
  #
161
- # source://tzinfo-2.0.5/lib/tzinfo/annual_rules.rb:12
161
+ # source://tzinfo//lib/tzinfo/annual_rules.rb#12
162
162
  def std_offset; end
163
163
 
164
164
  # Returns the transitions between standard and daylight savings time for a
@@ -168,7 +168,7 @@ class TZInfo::AnnualRules
168
168
  # @param year [Integer] the year to calculate transitions for.
169
169
  # @return [Array<TimezoneTransition>] the transitions for the year.
170
170
  #
171
- # source://tzinfo-2.0.5/lib/tzinfo/annual_rules.rb:49
171
+ # source://tzinfo//lib/tzinfo/annual_rules.rb#49
172
172
  def transitions(year); end
173
173
 
174
174
  private
@@ -181,7 +181,7 @@ class TZInfo::AnnualRules
181
181
  # @param year [Integer] the year when the transition occurs.
182
182
  # @return [TimezoneTransition] the transition determined by the rule.
183
183
  #
184
- # source://tzinfo-2.0.5/lib/tzinfo/annual_rules.rb:65
184
+ # source://tzinfo//lib/tzinfo/annual_rules.rb#65
185
185
  def apply_rule(rule, from_offset, to_offset, year); end
186
186
  end
187
187
 
@@ -189,11 +189,11 @@ end
189
189
  #
190
190
  # @private
191
191
  #
192
- # source://tzinfo-2.0.5/lib/tzinfo/string_deduper.rb:50
192
+ # source://tzinfo//lib/tzinfo/string_deduper.rb#50
193
193
  class TZInfo::ConcurrentStringDeduper < ::TZInfo::StringDeduper
194
194
  protected
195
195
 
196
- # source://tzinfo-2.0.5/lib/tzinfo/string_deduper.rb:53
196
+ # source://tzinfo//lib/tzinfo/string_deduper.rb#53
197
197
  def create_hash(&block); end
198
198
  end
199
199
 
@@ -214,7 +214,7 @@ end
214
214
  # needs. It is not intended to take or endorse any position on legal or
215
215
  # territorial claims.
216
216
  #
217
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:26
217
+ # source://tzinfo//lib/tzinfo/country.rb#26
218
218
  class TZInfo::Country
219
219
  include ::Comparable
220
220
 
@@ -228,7 +228,7 @@ class TZInfo::Country
228
228
  # instance upon.
229
229
  # @return [Country] a new instance of Country
230
230
  #
231
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:72
231
+ # source://tzinfo//lib/tzinfo/country.rb#72
232
232
  def initialize(info); end
233
233
 
234
234
  # Compares this {Country} with another based on their {code}.
@@ -238,7 +238,7 @@ class TZInfo::Country
238
238
  # `self` and +1 if `c` is greater than `self`, or `nil` if `c` is not an
239
239
  # instance of {Country}.
240
240
  #
241
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:162
241
+ # source://tzinfo//lib/tzinfo/country.rb#162
242
242
  def <=>(c); end
243
243
 
244
244
  # Matches `regexp` against the {code} of this {Country}.
@@ -248,7 +248,7 @@ class TZInfo::Country
248
248
  # @return [Integer] the position the match starts, or `nil` if there is no
249
249
  # match.
250
250
  #
251
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:185
251
+ # source://tzinfo//lib/tzinfo/country.rb#185
252
252
  def =~(regexp); end
253
253
 
254
254
  # Returns a serialized representation of this {Country}. This method is
@@ -257,41 +257,41 @@ class TZInfo::Country
257
257
  # @param limit [Integer] the maximum depth to dump - ignored.
258
258
  # @return [String] a serialized representation of this {Country}.
259
259
  #
260
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:194
260
+ # source://tzinfo//lib/tzinfo/country.rb#194
261
261
  def _dump(limit); end
262
262
 
263
263
  # @return [String] the ISO 3166-1 alpha-2 country code.
264
264
  #
265
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:77
265
+ # source://tzinfo//lib/tzinfo/country.rb#77
266
266
  def code; end
267
267
 
268
268
  # @param c [Object] an `Object` to compare this {Country} with.
269
269
  # @return [Boolean] `true` if `c` is an instance of {Country} and has the
270
270
  # same code as `self`, otherwise `false`.
271
271
  #
272
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:170
272
+ # source://tzinfo//lib/tzinfo/country.rb#170
273
273
  def eql?(c); end
274
274
 
275
275
  # @return [Integer] a hash based on the {code}.
276
276
  #
277
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:175
277
+ # source://tzinfo//lib/tzinfo/country.rb#175
278
278
  def hash; end
279
279
 
280
280
  # @return [String] the internal object state as a programmer-readable
281
281
  # `String`.
282
282
  #
283
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:94
283
+ # source://tzinfo//lib/tzinfo/country.rb#94
284
284
  def inspect; end
285
285
 
286
286
  # @return [String] the name of the country.
287
287
  #
288
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:82
288
+ # source://tzinfo//lib/tzinfo/country.rb#82
289
289
  def name; end
290
290
 
291
291
  # @return [String] a `String` representation of this {Country} (the name of
292
292
  # the country).
293
293
  #
294
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:88
294
+ # source://tzinfo//lib/tzinfo/country.rb#88
295
295
  def to_s; end
296
296
 
297
297
  # Returns an `Array` containing the identifier for each time zone observed
@@ -308,7 +308,7 @@ class TZInfo::Country
308
308
  # @return [Array<String>] an `Array` containing the identifier for each time
309
309
  # zone observed by the country
310
310
  #
311
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:111
311
+ # source://tzinfo//lib/tzinfo/country.rb#111
312
312
  def zone_identifiers; end
313
313
 
314
314
  # Returns a frozen `Array` containing a {CountryTimezone} instance for each
@@ -328,7 +328,7 @@ class TZInfo::Country
328
328
  # @return [Array<CountryTimezone>] a frozen `Array` containing a
329
329
  # {CountryTimezone} instance for each time zone observed by the country.
330
330
  #
331
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:152
331
+ # source://tzinfo//lib/tzinfo/country.rb#152
332
332
  def zone_info; end
333
333
 
334
334
  # Returns an `Array` containing the identifier for each time zone observed
@@ -345,7 +345,7 @@ class TZInfo::Country
345
345
  # @return [Array<String>] an `Array` containing the identifier for each time
346
346
  # zone observed by the country
347
347
  #
348
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:111
348
+ # source://tzinfo//lib/tzinfo/country.rb#111
349
349
  def zone_names; end
350
350
 
351
351
  # Returns An `Array` containing a {Timezone} instance for each time zone
@@ -365,7 +365,7 @@ class TZInfo::Country
365
365
  # @return [Array<Timezone>] an `Array` containing a {Timezone} instance for
366
366
  # each time zone observed by the country.
367
367
  #
368
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:132
368
+ # source://tzinfo//lib/tzinfo/country.rb#132
369
369
  def zones; end
370
370
 
371
371
  class << self
@@ -376,19 +376,19 @@ class TZInfo::Country
376
376
  # @param data [String] a serialized representation of a {Country}.
377
377
  # @return [Country] the result of converting `data` back into a {Country}.
378
378
  #
379
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:204
379
+ # source://tzinfo//lib/tzinfo/country.rb#204
380
380
  def _load(data); end
381
381
 
382
382
  # @return [Array<Country>] an `Array` containing one {Country} instance
383
383
  # for each defined country.
384
384
  #
385
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:52
385
+ # source://tzinfo//lib/tzinfo/country.rb#52
386
386
  def all; end
387
387
 
388
388
  # @return [Array<String>] an `Array` containing all the valid ISO 3166-1
389
389
  # alpha-2 country codes.
390
390
  #
391
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:46
391
+ # source://tzinfo//lib/tzinfo/country.rb#46
392
392
  def all_codes; end
393
393
 
394
394
  # Gets a {Country} by its ISO 3166-1 alpha-2 code.
@@ -402,14 +402,14 @@ class TZInfo::Country
402
402
  # @return [Country] a {Country} instance representing the ISO-3166-1
403
403
  # country identified by the `code` parameter.
404
404
  #
405
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:40
405
+ # source://tzinfo//lib/tzinfo/country.rb#40
406
406
  def get(code); end
407
407
 
408
408
  private
409
409
 
410
410
  # @return [DataSource] the current DataSource.
411
411
  #
412
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:59
412
+ # source://tzinfo//lib/tzinfo/country.rb#59
413
413
  def data_source; end
414
414
  end
415
415
  end
@@ -418,12 +418,12 @@ end
418
418
  #
419
419
  # @private
420
420
  #
421
- # source://tzinfo-2.0.5/lib/tzinfo/format1/country_index_definition.rb:62
421
+ # source://tzinfo//lib/tzinfo/format1/country_index_definition.rb#62
422
422
  TZInfo::CountryIndexDefinition = TZInfo::Format1::CountryIndexDefinition
423
423
 
424
424
  # Information about a time zone used by a {Country}.
425
425
  #
426
- # source://tzinfo-2.0.5/lib/tzinfo/country_timezone.rb:5
426
+ # source://tzinfo//lib/tzinfo/country_timezone.rb#5
427
427
  class TZInfo::CountryTimezone
428
428
  # Creates a new {CountryTimezone}.
429
429
  #
@@ -438,7 +438,7 @@ class TZInfo::CountryTimezone
438
438
  # @param description [String] an optional description of the time zone.
439
439
  # @return [CountryTimezone] a new instance of CountryTimezone
440
440
  #
441
- # source://tzinfo-2.0.5/lib/tzinfo/country_timezone.rb:44
441
+ # source://tzinfo//lib/tzinfo/country_timezone.rb#44
442
442
  def initialize(identifier, latitude, longitude, description = T.unsafe(nil)); end
443
443
 
444
444
  # Tests if the given object is equal to the current instance (has the same
@@ -447,7 +447,7 @@ class TZInfo::CountryTimezone
447
447
  # @param ct [Object] the object to be compared.
448
448
  # @return [TrueClass] `true` if `ct` is equal to the current instance.
449
449
  #
450
- # source://tzinfo-2.0.5/lib/tzinfo/country_timezone.rb:72
450
+ # source://tzinfo//lib/tzinfo/country_timezone.rb#72
451
451
  def ==(ct); end
452
452
 
453
453
  # A description of this time zone in relation to the country, e.g. "Eastern
@@ -455,13 +455,13 @@ class TZInfo::CountryTimezone
455
455
  #
456
456
  # @return [String] an optional description of the time zone.
457
457
  #
458
- # source://tzinfo-2.0.5/lib/tzinfo/country_timezone.rb:31
458
+ # source://tzinfo//lib/tzinfo/country_timezone.rb#31
459
459
  def description; end
460
460
 
461
461
  # @return [String] the {description} if present, otherwise a human-readable
462
462
  # representation of the identifier (using {Timezone#friendly_identifier}).
463
463
  #
464
- # source://tzinfo-2.0.5/lib/tzinfo/country_timezone.rb:63
464
+ # source://tzinfo//lib/tzinfo/country_timezone.rb#63
465
465
  def description_or_friendly_identifier; end
466
466
 
467
467
  # Tests if the given object is equal to the current instance (has the same
@@ -470,19 +470,19 @@ class TZInfo::CountryTimezone
470
470
  # @param ct [Object] the object to be compared.
471
471
  # @return [Boolean] `true` if `ct` is equal to the current instance.
472
472
  #
473
- # source://tzinfo-2.0.5/lib/tzinfo/country_timezone.rb:83
473
+ # source://tzinfo//lib/tzinfo/country_timezone.rb#83
474
474
  def eql?(ct); end
475
475
 
476
476
  # {longitude} and {description}.
477
477
  #
478
478
  # @return [Integer] a hash based on the {identifier}, {latitude},
479
479
  #
480
- # source://tzinfo-2.0.5/lib/tzinfo/country_timezone.rb:89
480
+ # source://tzinfo//lib/tzinfo/country_timezone.rb#89
481
481
  def hash; end
482
482
 
483
483
  # @return [String] the identifier of the {Timezone} being described.
484
484
  #
485
- # source://tzinfo-2.0.5/lib/tzinfo/country_timezone.rb:7
485
+ # source://tzinfo//lib/tzinfo/country_timezone.rb#7
486
486
  def identifier; end
487
487
 
488
488
  # The latitude of this time zone in degrees. Positive numbers are degrees
@@ -493,7 +493,7 @@ class TZInfo::CountryTimezone
493
493
  #
494
494
  # @return [Rational] the latitude in degrees.
495
495
  #
496
- # source://tzinfo-2.0.5/lib/tzinfo/country_timezone.rb:16
496
+ # source://tzinfo//lib/tzinfo/country_timezone.rb#16
497
497
  def latitude; end
498
498
 
499
499
  # The longitude of this time zone in degrees. Positive numbers are degrees
@@ -504,7 +504,7 @@ class TZInfo::CountryTimezone
504
504
  #
505
505
  # @return [Rational] the longitude in degrees.
506
506
  #
507
- # source://tzinfo-2.0.5/lib/tzinfo/country_timezone.rb:25
507
+ # source://tzinfo//lib/tzinfo/country_timezone.rb#25
508
508
  def longitude; end
509
509
 
510
510
  # Returns the associated {Timezone}.
@@ -514,7 +514,7 @@ class TZInfo::CountryTimezone
514
514
  #
515
515
  # @return [Timezone] the associated {Timezone}.
516
516
  #
517
- # source://tzinfo-2.0.5/lib/tzinfo/country_timezone.rb:57
517
+ # source://tzinfo//lib/tzinfo/country_timezone.rb#57
518
518
  def timezone; end
519
519
  end
520
520
 
@@ -529,14 +529,14 @@ end
529
529
  # {linked_timezone_identifiers}, {load_country_info} and {country_codes}
530
530
  # methods.
531
531
  #
532
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:29
532
+ # source://tzinfo//lib/tzinfo/data_source.rb#29
533
533
  class TZInfo::DataSource
534
534
  # Initializes a new {DataSource} instance. Typically only called via
535
535
  # subclasses of {DataSource}.
536
536
  #
537
537
  # @return [DataSource] a new instance of DataSource
538
538
  #
539
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:166
539
+ # source://tzinfo//lib/tzinfo/data_source.rb#166
540
540
  def initialize; end
541
541
 
542
542
  # Returns a frozen `Array` of all the available ISO 3166-1 alpha-2 country
@@ -545,7 +545,7 @@ class TZInfo::DataSource
545
545
  # @return [Array<String>] a frozen `Array` of all the available ISO 3166-1
546
546
  # alpha-2 country codes.
547
547
  #
548
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:246
548
+ # source://tzinfo//lib/tzinfo/data_source.rb#246
549
549
  def country_codes; end
550
550
 
551
551
  # Returns a frozen `Array` of all the available time zone identifiers for
@@ -555,7 +555,7 @@ class TZInfo::DataSource
555
555
  # @return [Array<String>] a frozen `Array` of all the available time zone
556
556
  # identifiers for data time zones.
557
557
  #
558
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:218
558
+ # source://tzinfo//lib/tzinfo/data_source.rb#218
559
559
  def data_timezone_identifiers; end
560
560
 
561
561
  # Loads all timezone and country data into memory.
@@ -564,7 +564,7 @@ class TZInfo::DataSource
564
564
  # performance and to avoid flushing the constant cache every time a new
565
565
  # timezone or country is loaded from {DataSources::RubyDataSource}.
566
566
  #
567
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:255
567
+ # source://tzinfo//lib/tzinfo/data_source.rb#255
568
568
  def eager_load!; end
569
569
 
570
570
  # @param code [String] an ISO 3166-1 alpha-2 country code.
@@ -573,7 +573,7 @@ class TZInfo::DataSource
573
573
  # @return [DataSources::CountryInfo] a {DataSources::CountryInfo} instance
574
574
  # for the given ISO 3166-1 alpha-2 country code.
575
575
  #
576
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:237
576
+ # source://tzinfo//lib/tzinfo/data_source.rb#237
577
577
  def get_country_info(code); end
578
578
 
579
579
  # Returns a {DataSources::TimezoneInfo} instance for the given identifier.
@@ -591,13 +591,13 @@ class TZInfo::DataSource
591
591
  # @return [DataSources::TimezoneInfo] a {DataSources::TimezoneInfo} instance
592
592
  # for a given identifier.
593
593
  #
594
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:184
594
+ # source://tzinfo//lib/tzinfo/data_source.rb#184
595
595
  def get_timezone_info(identifier); end
596
596
 
597
597
  # @return [String] the internal object state as a programmer-readable
598
598
  # `String`.
599
599
  #
600
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:268
600
+ # source://tzinfo//lib/tzinfo/data_source.rb#268
601
601
  def inspect; end
602
602
 
603
603
  # Returns a frozen `Array` of all the available time zone identifiers that
@@ -607,18 +607,18 @@ class TZInfo::DataSource
607
607
  # @return [Array<String>] a frozen `Array` of all the available time zone
608
608
  # identifiers that are links to other time zones.
609
609
  #
610
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:228
610
+ # source://tzinfo//lib/tzinfo/data_source.rb#228
611
611
  def linked_timezone_identifiers; end
612
612
 
613
613
  # @return [Array<String>] a frozen `Array`` of all the available time zone
614
614
  # identifiers. The identifiers are sorted according to `String#<=>`.
615
615
  #
616
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:204
616
+ # source://tzinfo//lib/tzinfo/data_source.rb#204
617
617
  def timezone_identifiers; end
618
618
 
619
619
  # @return [String] a description of the {DataSource}.
620
620
  #
621
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:262
621
+ # source://tzinfo//lib/tzinfo/data_source.rb#262
622
622
  def to_s; end
623
623
 
624
624
  protected
@@ -629,7 +629,7 @@ class TZInfo::DataSource
629
629
  # @return [DataSources::CountryInfo] a {DataSources::CountryInfo} instance
630
630
  # for the given ISO 3166-1 alpha-2 country code.
631
631
  #
632
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:294
632
+ # source://tzinfo//lib/tzinfo/data_source.rb#294
633
633
  def load_country_info(code); end
634
634
 
635
635
  # Returns a {DataSources::TimezoneInfo} instance for the given time zone
@@ -644,7 +644,7 @@ class TZInfo::DataSource
644
644
  # @return [DataSources::TimezoneInfo] a {DataSources::TimezoneInfo} instance
645
645
  # for the given time zone identifier.
646
646
  #
647
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:285
647
+ # source://tzinfo//lib/tzinfo/data_source.rb#285
648
648
  def load_timezone_info(identifier); end
649
649
 
650
650
  # Looks up a given code in the given hash of code to
@@ -661,13 +661,13 @@ class TZInfo::DataSource
661
661
  # @return [DataSources::CountryInfo] the {DataSources::CountryInfo} instance
662
662
  # corresponding to `code`.
663
663
  #
664
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:337
664
+ # source://tzinfo//lib/tzinfo/data_source.rb#337
665
665
  def lookup_country_info(hash, code, encoding = T.unsafe(nil)); end
666
666
 
667
667
  # @return [Encoding] the `Encoding` used by the `String` instances returned
668
668
  # by {data_timezone_identifiers} and {linked_timezone_identifiers}.
669
669
  #
670
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:300
670
+ # source://tzinfo//lib/tzinfo/data_source.rb#300
671
671
  def timezone_identifier_encoding; end
672
672
 
673
673
  # Checks that the given identifier is a valid time zone identifier (can be
@@ -682,7 +682,7 @@ class TZInfo::DataSource
682
682
  # @return [String] the `String` instance equivalent to `identifier` from
683
683
  # {timezone_identifiers}.
684
684
  #
685
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:315
685
+ # source://tzinfo//lib/tzinfo/data_source.rb#315
686
686
  def validate_timezone_identifier(identifier); end
687
687
 
688
688
  private
@@ -698,7 +698,7 @@ class TZInfo::DataSource
698
698
  # @return [Array<String>] an `Array` containing all valid time zone
699
699
  # identifiers.
700
700
  #
701
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:366
701
+ # source://tzinfo//lib/tzinfo/data_source.rb#366
702
702
  def build_timezone_identifiers; end
703
703
 
704
704
  # If the given `identifier` is contained within the {timezone_identifiers}
@@ -711,7 +711,7 @@ class TZInfo::DataSource
711
711
  # @return [String] the `String` instance representing `identifier` from
712
712
  # {timezone_identifiers} if found, or `nil` if not found.
713
713
  #
714
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:382
714
+ # source://tzinfo//lib/tzinfo/data_source.rb#382
715
715
  def find_timezone_identifier(identifier); end
716
716
 
717
717
  # Raises {InvalidDataSource} to indicate that a method has not been
@@ -719,7 +719,7 @@ class TZInfo::DataSource
719
719
  #
720
720
  # @raise [InvalidDataSource] always.
721
721
  #
722
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:352
722
+ # source://tzinfo//lib/tzinfo/data_source.rb#352
723
723
  def raise_invalid_data_source(method_name); end
724
724
 
725
725
  # Tries an operation using `string` directly. If the operation fails, the
@@ -738,13 +738,13 @@ class TZInfo::DataSource
738
738
  # @yieldreturn [Object] The result of the operation. Must be truthy if
739
739
  # successful.
740
740
  #
741
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:436
741
+ # source://tzinfo//lib/tzinfo/data_source.rb#436
742
742
  def try_with_encoding(string, encoding); end
743
743
 
744
744
  class << self
745
745
  # @return [DataSource] the currently selected source of data.
746
746
  #
747
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:42
747
+ # source://tzinfo//lib/tzinfo/data_source.rb#42
748
748
  def get; end
749
749
 
750
750
  # Sets the currently selected data source for time zone and country data.
@@ -813,7 +813,7 @@ class TZInfo::DataSource
813
813
  # @raise [ArgumentError] if `data_source_or_type` is not `:ruby`,
814
814
  # `:zoneinfo` or an instance of {DataSource}.
815
815
  #
816
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:127
816
+ # source://tzinfo//lib/tzinfo/data_source.rb#127
817
817
  def set(data_source_or_type, *args); end
818
818
 
819
819
  private
@@ -823,7 +823,7 @@ class TZInfo::DataSource
823
823
  #
824
824
  # @return [DataSource] the newly created default {DataSource} instance.
825
825
  #
826
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:145
826
+ # source://tzinfo//lib/tzinfo/data_source.rb#145
827
827
  def create_default_data_source; end
828
828
  end
829
829
  end
@@ -832,18 +832,18 @@ end
832
832
  # `'tzinfo/data'` cannot be found on the load path and no valid zoneinfo
833
833
  # directory can be found on the system).
834
834
  #
835
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:16
835
+ # source://tzinfo//lib/tzinfo/data_source.rb#16
836
836
  class TZInfo::DataSourceNotFound < ::StandardError; end
837
837
 
838
838
  # {DataSource} implementations and classes used by {DataSource}
839
839
  # implementations.
840
840
  #
841
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources.rb:6
841
+ # source://tzinfo//lib/tzinfo/data_sources.rb#6
842
842
  module TZInfo::DataSources; end
843
843
 
844
844
  # Represents a data time zone defined by a constantly observed offset.
845
845
  #
846
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb:8
846
+ # source://tzinfo//lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb#7
847
847
  class TZInfo::DataSources::ConstantOffsetDataTimezoneInfo < ::TZInfo::DataSources::DataTimezoneInfo
848
848
  # Initializes a new {ConstantOffsetDataTimezoneInfo}.
849
849
  #
@@ -855,26 +855,26 @@ class TZInfo::DataSources::ConstantOffsetDataTimezoneInfo < ::TZInfo::DataSource
855
855
  # @raise [ArgumentError] if `identifier` or `constant_offset` is `nil`.
856
856
  # @return [ConstantOffsetDataTimezoneInfo] a new instance of ConstantOffsetDataTimezoneInfo
857
857
  #
858
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb:19
858
+ # source://tzinfo//lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb#19
859
859
  def initialize(identifier, constant_offset); end
860
860
 
861
861
  # @return [TimezoneOffset] the offset that is constantly observed.
862
862
  #
863
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb:9
863
+ # source://tzinfo//lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb#9
864
864
  def constant_offset; end
865
865
 
866
866
  # @param timestamp [Timestamp] ignored.
867
867
  # @return [TimezonePeriod] an unbounded {TimezonePeriod} for the time
868
868
  # zone's constantly observed offset.
869
869
  #
870
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb:28
870
+ # source://tzinfo//lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb#28
871
871
  def period_for(timestamp); end
872
872
 
873
873
  # @param local_timestamp [Timestamp] ignored.
874
874
  # @return [Array<TimezonePeriod>] an `Array` containing a single unbounded
875
875
  # {TimezonePeriod} for the time zone's constantly observed offset.
876
876
  #
877
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb:35
877
+ # source://tzinfo//lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb#35
878
878
  def periods_for_local(local_timestamp); end
879
879
 
880
880
  # @param to_timestamp [Timestamp] ignored.
@@ -882,7 +882,7 @@ class TZInfo::DataSources::ConstantOffsetDataTimezoneInfo < ::TZInfo::DataSource
882
882
  # @return [Array] an empty `Array`, since there are no transitions in time
883
883
  # zones that observe a constant offset.
884
884
  #
885
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb:43
885
+ # source://tzinfo//lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb#43
886
886
  def transitions_up_to(to_timestamp, from_timestamp = T.unsafe(nil)); end
887
887
 
888
888
  private
@@ -890,14 +890,14 @@ class TZInfo::DataSources::ConstantOffsetDataTimezoneInfo < ::TZInfo::DataSource
890
890
  # @return [TimezonePeriod] an unbounded {TimezonePeriod} with the constant
891
891
  # offset of this timezone.
892
892
  #
893
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb:51
893
+ # source://tzinfo//lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb#51
894
894
  def constant_period; end
895
895
  end
896
896
 
897
897
  # Represents a country and references to its time zones as returned by a
898
898
  # {DataSource}.
899
899
  #
900
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/country_info.rb:8
900
+ # source://tzinfo//lib/tzinfo/data_sources/country_info.rb#8
901
901
  class TZInfo::DataSources::CountryInfo
902
902
  # Initializes a new {CountryInfo}. The passed in `code`, `name` and
903
903
  # `zones` instances will be frozen.
@@ -909,28 +909,28 @@ class TZInfo::DataSources::CountryInfo
909
909
  # @raise [ArgumentError] if `code`, `name` or `zones` is `nil`.
910
910
  # @return [CountryInfo] a new instance of CountryInfo
911
911
  #
912
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/country_info.rb:26
912
+ # source://tzinfo//lib/tzinfo/data_sources/country_info.rb#26
913
913
  def initialize(code, name, zones); end
914
914
 
915
915
  # @return [String] the ISO 3166-1 alpha-2 country code.
916
916
  #
917
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/country_info.rb:10
917
+ # source://tzinfo//lib/tzinfo/data_sources/country_info.rb#10
918
918
  def code; end
919
919
 
920
920
  # @return [String] the internal object state as a programmer-readable
921
921
  # `String`.
922
922
  #
923
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/country_info.rb:37
923
+ # source://tzinfo//lib/tzinfo/data_sources/country_info.rb#37
924
924
  def inspect; end
925
925
 
926
926
  # @return [String] the name of the country.
927
927
  #
928
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/country_info.rb:13
928
+ # source://tzinfo//lib/tzinfo/data_sources/country_info.rb#13
929
929
  def name; end
930
930
 
931
931
  # @return [Array<CountryTimezone>] the time zones observed in the country.
932
932
  #
933
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/country_info.rb:16
933
+ # source://tzinfo//lib/tzinfo/data_sources/country_info.rb#16
934
934
  def zones; end
935
935
  end
936
936
 
@@ -940,12 +940,12 @@ end
940
940
  #
941
941
  # @abstract Data sources return instances of {DataTimezoneInfo} subclasses.
942
942
  #
943
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/data_timezone_info.rb:17
943
+ # source://tzinfo//lib/tzinfo/data_sources/data_timezone_info.rb#11
944
944
  class TZInfo::DataSources::DataTimezoneInfo < ::TZInfo::DataSources::TimezoneInfo
945
945
  # @return [DataTimezone] a new {DataTimezone} instance for the time zone
946
946
  # represented by this {DataTimezoneInfo}.
947
947
  #
948
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/data_timezone_info.rb:76
948
+ # source://tzinfo//lib/tzinfo/data_sources/data_timezone_info.rb#76
949
949
  def create_timezone; end
950
950
 
951
951
  # @param timestamp [Timestamp] a {Timestamp} with a specified
@@ -955,7 +955,7 @@ class TZInfo::DataSources::DataTimezoneInfo < ::TZInfo::DataSources::TimezoneInf
955
955
  # @return [TimezonePeriod] the {TimezonePeriod} observed at the time
956
956
  # specified by `timestamp`.
957
957
  #
958
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/data_timezone_info.rb:18
958
+ # source://tzinfo//lib/tzinfo/data_sources/data_timezone_info.rb#18
959
959
  def period_for(timestamp); end
960
960
 
961
961
  # Returns an `Array` containing the {TimezonePeriod TimezonePeriods} that
@@ -971,7 +971,7 @@ class TZInfo::DataSources::DataTimezoneInfo < ::TZInfo::DataSources::TimezoneInf
971
971
  # {TimezonePeriod TimezonePeriods} that could be observed at the local
972
972
  # time specified by `local_timestamp`.
973
973
  #
974
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/data_timezone_info.rb:34
974
+ # source://tzinfo//lib/tzinfo/data_sources/data_timezone_info.rb#34
975
975
  def periods_for_local(local_timestamp); end
976
976
 
977
977
  # Returns an `Array` of {TimezoneTransition} instances representing the
@@ -1007,7 +1007,7 @@ class TZInfo::DataSources::DataTimezoneInfo < ::TZInfo::DataSources::TimezoneInf
1007
1007
  # instances representing the times where the UTC offset of the time zone
1008
1008
  # changes.
1009
1009
  #
1010
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/data_timezone_info.rb:70
1010
+ # source://tzinfo//lib/tzinfo/data_sources/data_timezone_info.rb#70
1011
1011
  def transitions_up_to(to_timestamp, from_timestamp = T.unsafe(nil)); end
1012
1012
 
1013
1013
  private
@@ -1019,7 +1019,7 @@ class TZInfo::DataSources::DataTimezoneInfo < ::TZInfo::DataSources::TimezoneInf
1019
1019
  #
1020
1020
  # @raise [NotImplementedError]
1021
1021
  #
1022
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/data_timezone_info.rb:86
1022
+ # source://tzinfo//lib/tzinfo/data_sources/data_timezone_info.rb#86
1023
1023
  def raise_not_implemented(method_name); end
1024
1024
  end
1025
1025
 
@@ -1028,7 +1028,7 @@ end
1028
1028
  #
1029
1029
  # @private
1030
1030
  #
1031
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/posix_time_zone_parser.rb:16
1031
+ # source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#16
1032
1032
  class TZInfo::DataSources::InvalidPosixTimeZone < ::StandardError; end
1033
1033
 
1034
1034
  # An {InvalidZoneinfoDirectory} exception is raised if {ZoneinfoDataSource}
@@ -1037,19 +1037,19 @@ class TZInfo::DataSources::InvalidPosixTimeZone < ::StandardError; end
1037
1037
  # files, a country code index file named iso3166.tab and a time zone index
1038
1038
  # file named zone1970.tab or zone.tab.
1039
1039
  #
1040
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:15
1040
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#15
1041
1041
  class TZInfo::DataSources::InvalidZoneinfoDirectory < ::StandardError; end
1042
1042
 
1043
1043
  # An {InvalidZoneinfoFile} exception is raised if an attempt is made to load
1044
1044
  # an invalid zoneinfo file.
1045
1045
  #
1046
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:12
1046
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#12
1047
1047
  class TZInfo::DataSources::InvalidZoneinfoFile < ::StandardError; end
1048
1048
 
1049
1049
  # Represents a time zone that is defined as a link to or alias of another
1050
1050
  # zone.
1051
1051
  #
1052
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/linked_timezone_info.rb:9
1052
+ # source://tzinfo//lib/tzinfo/data_sources/linked_timezone_info.rb#7
1053
1053
  class TZInfo::DataSources::LinkedTimezoneInfo < ::TZInfo::DataSources::TimezoneInfo
1054
1054
  # Initializes a new {LinkedTimezoneInfo}. The passed in `identifier` and
1055
1055
  # `link_to_identifier` instances will be frozen.
@@ -1062,20 +1062,20 @@ class TZInfo::DataSources::LinkedTimezoneInfo < ::TZInfo::DataSources::TimezoneI
1062
1062
  # @raise [ArgumentError] if `identifier` or `link_to_identifier` are
1063
1063
  # @return [LinkedTimezoneInfo] a new instance of LinkedTimezoneInfo
1064
1064
  #
1065
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/linked_timezone_info.rb:20
1065
+ # source://tzinfo//lib/tzinfo/data_sources/linked_timezone_info.rb#20
1066
1066
  def initialize(identifier, link_to_identifier); end
1067
1067
 
1068
1068
  # @return [LinkedTimezone] a new {LinkedTimezone} instance for the time
1069
1069
  # zone represented by this {LinkedTimezoneInfo}.
1070
1070
  #
1071
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/linked_timezone_info.rb:28
1071
+ # source://tzinfo//lib/tzinfo/data_sources/linked_timezone_info.rb#28
1072
1072
  def create_timezone; end
1073
1073
 
1074
1074
  # (that this zone links to or is an alias for).
1075
1075
  #
1076
1076
  # @return [String] the identifier of the time zone that provides the data
1077
1077
  #
1078
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/linked_timezone_info.rb:10
1078
+ # source://tzinfo//lib/tzinfo/data_sources/linked_timezone_info.rb#10
1079
1079
  def link_to_identifier; end
1080
1080
  end
1081
1081
 
@@ -1084,7 +1084,7 @@ end
1084
1084
  #
1085
1085
  # @private
1086
1086
  #
1087
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/posix_time_zone_parser.rb:24
1087
+ # source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#24
1088
1088
  class TZInfo::DataSources::PosixTimeZoneParser
1089
1089
  # Initializes a new {PosixTimeZoneParser}.
1090
1090
  #
@@ -1092,7 +1092,7 @@ class TZInfo::DataSources::PosixTimeZoneParser
1092
1092
  # to dedupe abbreviations.
1093
1093
  # @return [PosixTimeZoneParser] a new instance of PosixTimeZoneParser
1094
1094
  #
1095
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/posix_time_zone_parser.rb:29
1095
+ # source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#29
1096
1096
  def initialize(string_deduper); end
1097
1097
 
1098
1098
  # Parses a POSIX-style TZ string.
@@ -1103,7 +1103,7 @@ class TZInfo::DataSources::PosixTimeZoneParser
1103
1103
  # @return [Object] either a {TimezoneOffset} for a constantly applied
1104
1104
  # offset or an {AnnualRules} instance representing the rules.
1105
1105
  #
1106
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/posix_time_zone_parser.rb:40
1106
+ # source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#40
1107
1107
  def parse(tz_string); end
1108
1108
 
1109
1109
  private
@@ -1116,7 +1116,7 @@ class TZInfo::DataSources::PosixTimeZoneParser
1116
1116
  # @raise [InvalidPosixTimeZone] if the pattern does not match the input.
1117
1117
  # @return [String] the result of the scan.
1118
1118
  #
1119
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/posix_time_zone_parser.rb:173
1119
+ # source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#173
1120
1120
  def check_scan(s, pattern); end
1121
1121
 
1122
1122
  # Returns an offset in seconds from hh:mm:ss values. The value can be
@@ -1130,7 +1130,7 @@ class TZInfo::DataSources::PosixTimeZoneParser
1130
1130
  # 59.
1131
1131
  # @return [Integer] the offset.
1132
1132
  #
1133
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/posix_time_zone_parser.rb:136
1133
+ # source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#136
1134
1134
  def get_offset_from_hms(h, m, s); end
1135
1135
 
1136
1136
  # Returns the seconds from midnight from hh:mm:ss values. Hours can exceed
@@ -1145,7 +1145,7 @@ class TZInfo::DataSources::PosixTimeZoneParser
1145
1145
  # 59.
1146
1146
  # @return [Integer] the number of seconds after midnight.
1147
1147
  #
1148
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/posix_time_zone_parser.rb:157
1148
+ # source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#157
1149
1149
  def get_seconds_after_midnight_from_hms(h, m, s); end
1150
1150
 
1151
1151
  # Parses a rule.
@@ -1155,7 +1155,7 @@ class TZInfo::DataSources::PosixTimeZoneParser
1155
1155
  # @raise [InvalidPosixTimeZone] if the rule is not valid.
1156
1156
  # @return [TransitionRule] the parsed rule.
1157
1157
  #
1158
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/posix_time_zone_parser.rb:96
1158
+ # source://tzinfo//lib/tzinfo/data_sources/posix_time_zone_parser.rb#96
1159
1159
  def parse_rule(s, type); end
1160
1160
  end
1161
1161
 
@@ -1168,7 +1168,7 @@ end
1168
1168
  #
1169
1169
  # TZInfo::DataSource.set(:ruby)
1170
1170
  #
1171
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/ruby_data_source.rb:25
1171
+ # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#24
1172
1172
  class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource
1173
1173
  # Initializes a new {RubyDataSource} instance.
1174
1174
  #
@@ -1176,33 +1176,47 @@ class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource
1176
1176
  # (i.e. `require 'tzinfo/data'` failed).
1177
1177
  # @return [RubyDataSource] a new instance of RubyDataSource
1178
1178
  #
1179
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/ruby_data_source.rb:38
1179
+ # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#38
1180
1180
  def initialize; end
1181
1181
 
1182
- # Returns the value of attribute country_codes.
1182
+ # Returns a frozen `Array` of all the available ISO 3166-1 alpha-2 country
1183
+ # codes. The identifiers are sorted according to `String#<=>`.
1184
+ #
1185
+ # @return [Array<String>] a frozen `Array` of all the available ISO 3166-1
1186
+ # alpha-2 country codes.
1183
1187
  #
1184
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/ruby_data_source.rb:32
1188
+ # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#32
1185
1189
  def country_codes; end
1186
1190
 
1187
- # Returns the value of attribute data_timezone_identifiers.
1191
+ # Returns a frozen `Array` of all the available time zone identifiers for
1192
+ # data time zones (i.e. those that actually contain definitions). The
1193
+ # identifiers are sorted according to `String#<=>`.
1194
+ #
1195
+ # @return [Array<String>] a frozen `Array` of all the available time zone
1196
+ # identifiers for data time zones.
1188
1197
  #
1189
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/ruby_data_source.rb:26
1198
+ # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#26
1190
1199
  def data_timezone_identifiers; end
1191
1200
 
1192
1201
  # @return [String] the internal object state as a programmer-readable
1193
1202
  # `String`.
1194
1203
  #
1195
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/ruby_data_source.rb:76
1204
+ # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#76
1196
1205
  def inspect; end
1197
1206
 
1198
- # Returns the value of attribute linked_timezone_identifiers.
1207
+ # Returns a frozen `Array` of all the available time zone identifiers that
1208
+ # are links to other time zones. The identifiers are sorted according to
1209
+ # `String#<=>`.
1210
+ #
1211
+ # @return [Array<String>] a frozen `Array` of all the available time zone
1212
+ # identifiers that are links to other time zones.
1199
1213
  #
1200
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/ruby_data_source.rb:29
1214
+ # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#29
1201
1215
  def linked_timezone_identifiers; end
1202
1216
 
1203
1217
  # @return [String] a description of the {DataSource}.
1204
1218
  #
1205
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/ruby_data_source.rb:71
1219
+ # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#71
1206
1220
  def to_s; end
1207
1221
 
1208
1222
  protected
@@ -1213,7 +1227,7 @@ class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource
1213
1227
  # @return [DataSources::CountryInfo] a {DataSources::CountryInfo} instance
1214
1228
  # for the given ISO 3166-1 alpha-2 country code.
1215
1229
  #
1216
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/ruby_data_source.rb:108
1230
+ # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#108
1217
1231
  def load_country_info(code); end
1218
1232
 
1219
1233
  # Returns a {TimezoneInfo} instance for the given time zone identifier.
@@ -1227,7 +1241,7 @@ class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource
1227
1241
  # @return [TimezoneInfo] a {TimezoneInfo} instance for the given time zone
1228
1242
  # identifier.
1229
1243
  #
1230
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/ruby_data_source.rb:92
1244
+ # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#92
1231
1245
  def load_timezone_info(identifier); end
1232
1246
 
1233
1247
  private
@@ -1236,7 +1250,7 @@ class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource
1236
1250
  #
1237
1251
  # @param file [Array<String>] a relative path to a file to be required.
1238
1252
  #
1239
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/ruby_data_source.rb:132
1253
+ # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#132
1240
1254
  def require_data(*file); end
1241
1255
 
1242
1256
  # Requires a zone definition by its identifier (split on /).
@@ -1244,20 +1258,20 @@ class TZInfo::DataSources::RubyDataSource < ::TZInfo::DataSource
1244
1258
  # @param identifier [Array<string>] the component parts of a time zone
1245
1259
  # identifier (split on /). This must have already been validated.
1246
1260
  #
1247
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/ruby_data_source.rb:118
1261
+ # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#118
1248
1262
  def require_definition(identifier); end
1249
1263
 
1250
1264
  # Requires an index by its name.
1251
1265
  #
1252
1266
  # @param name [String] an index name.
1253
1267
  #
1254
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/ruby_data_source.rb:125
1268
+ # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#125
1255
1269
  def require_index(name); end
1256
1270
 
1257
1271
  # @return [String] a `String` containing TZInfo::Data version infomation
1258
1272
  # for inclusion in the #to_s and #inspect output.
1259
1273
  #
1260
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/ruby_data_source.rb:138
1274
+ # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#138
1261
1275
  def version_info; end
1262
1276
  end
1263
1277
 
@@ -1265,14 +1279,14 @@ end
1265
1279
  # not be found (i.e. `require 'tzinfo/data'` failed) when selecting the Ruby
1266
1280
  # data source.
1267
1281
  #
1268
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/ruby_data_source.rb:13
1282
+ # source://tzinfo//lib/tzinfo/data_sources/ruby_data_source.rb#13
1269
1283
  class TZInfo::DataSources::TZInfoDataNotFound < ::StandardError; end
1270
1284
 
1271
1285
  # Represents a time zone defined by a data source.
1272
1286
  #
1273
1287
  # @abstract Data sources return instances of {TimezoneInfo} subclasses.
1274
1288
  #
1275
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/timezone_info.rb:9
1289
+ # source://tzinfo//lib/tzinfo/data_sources/timezone_info.rb#9
1276
1290
  class TZInfo::DataSources::TimezoneInfo
1277
1291
  # Initializes a new TimezoneInfo. The passed in `identifier` instance will
1278
1292
  # be frozen.
@@ -1281,24 +1295,24 @@ class TZInfo::DataSources::TimezoneInfo
1281
1295
  # @raise [ArgumentError] if `identifier` is `nil`.
1282
1296
  # @return [TimezoneInfo] a new instance of TimezoneInfo
1283
1297
  #
1284
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/timezone_info.rb:18
1298
+ # source://tzinfo//lib/tzinfo/data_sources/timezone_info.rb#18
1285
1299
  def initialize(identifier); end
1286
1300
 
1287
1301
  # @return [Timezone] a new {Timezone} instance for the time zone
1288
1302
  # represented by this {TimezoneInfo}.
1289
1303
  #
1290
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/timezone_info.rb:31
1304
+ # source://tzinfo//lib/tzinfo/data_sources/timezone_info.rb#31
1291
1305
  def create_timezone; end
1292
1306
 
1293
1307
  # @return [String] the identifier of the time zone.
1294
1308
  #
1295
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/timezone_info.rb:11
1309
+ # source://tzinfo//lib/tzinfo/data_sources/timezone_info.rb#11
1296
1310
  def identifier; end
1297
1311
 
1298
1312
  # @return [String] the internal object state as a programmer-readable
1299
1313
  # `String`.
1300
1314
  #
1301
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/timezone_info.rb:25
1315
+ # source://tzinfo//lib/tzinfo/data_sources/timezone_info.rb#25
1302
1316
  def inspect; end
1303
1317
 
1304
1318
  private
@@ -1309,14 +1323,14 @@ class TZInfo::DataSources::TimezoneInfo
1309
1323
  # overridden.
1310
1324
  # @raise NotImplementedError always.
1311
1325
  #
1312
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/timezone_info.rb:42
1326
+ # source://tzinfo//lib/tzinfo/data_sources/timezone_info.rb#42
1313
1327
  def raise_not_implemented(method_name); end
1314
1328
  end
1315
1329
 
1316
1330
  # Represents a data time zone defined by a list of transitions that change
1317
1331
  # the locally observed time.
1318
1332
  #
1319
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/transitions_data_timezone_info.rb:10
1333
+ # source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#8
1320
1334
  class TZInfo::DataSources::TransitionsDataTimezoneInfo < ::TZInfo::DataSources::DataTimezoneInfo
1321
1335
  # Initializes a new {TransitionsDataTimezoneInfo}.
1322
1336
  #
@@ -1338,7 +1352,7 @@ class TZInfo::DataSources::TransitionsDataTimezoneInfo < ::TZInfo::DataSources::
1338
1352
  # @raise [ArgumentError] if `transitions` is an empty `Array`.
1339
1353
  # @return [TransitionsDataTimezoneInfo] a new instance of TransitionsDataTimezoneInfo
1340
1354
  #
1341
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/transitions_data_timezone_info.rb:31
1355
+ # source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#31
1342
1356
  def initialize(identifier, transitions); end
1343
1357
 
1344
1358
  # @param timestamp [Timestamp] a {Timestamp} with a specified
@@ -1348,7 +1362,7 @@ class TZInfo::DataSources::TransitionsDataTimezoneInfo < ::TZInfo::DataSources::
1348
1362
  # @return [TimezonePeriod] the {TimezonePeriod} observed at the time
1349
1363
  # specified by `timestamp`.
1350
1364
  #
1351
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/transitions_data_timezone_info.rb:39
1365
+ # source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#39
1352
1366
  def period_for(timestamp); end
1353
1367
 
1354
1368
  # Returns an `Array` containing the {TimezonePeriod TimezonePeriods} that
@@ -1364,13 +1378,13 @@ class TZInfo::DataSources::TransitionsDataTimezoneInfo < ::TZInfo::DataSources::
1364
1378
  # {TimezonePeriod TimezonePeriods} that could be observed at the local
1365
1379
  # time specified by `local_timestamp`.
1366
1380
  #
1367
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/transitions_data_timezone_info.rb:70
1381
+ # source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#70
1368
1382
  def periods_for_local(local_timestamp); end
1369
1383
 
1370
1384
  # @return [Array<TimezoneTransition>] the transitions that define this
1371
1385
  # time zone in order of ascending timestamp.
1372
1386
  #
1373
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/transitions_data_timezone_info.rb:11
1387
+ # source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#11
1374
1388
  def transitions; end
1375
1389
 
1376
1390
  # Returns an `Array` of {TimezoneTransition} instances representing the
@@ -1406,7 +1420,7 @@ class TZInfo::DataSources::TransitionsDataTimezoneInfo < ::TZInfo::DataSources::
1406
1420
  # instances representing the times where the UTC offset of the time zone
1407
1421
  # changes.
1408
1422
  #
1409
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/transitions_data_timezone_info.rb:111
1423
+ # source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#111
1410
1424
  def transitions_up_to(to_timestamp, from_timestamp = T.unsafe(nil)); end
1411
1425
 
1412
1426
  private
@@ -1427,7 +1441,7 @@ class TZInfo::DataSources::TransitionsDataTimezoneInfo < ::TZInfo::DataSources::
1427
1441
  # transitions. In all other cases, the result of the block must be
1428
1442
  # `false`.
1429
1443
  #
1430
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/transitions_data_timezone_info.rb:159
1444
+ # source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#159
1431
1445
  def find_minimum_transition(&block); end
1432
1446
 
1433
1447
  # Determines if a transition occurs at or after a given {Timestamp},
@@ -1438,7 +1452,7 @@ class TZInfo::DataSources::TransitionsDataTimezoneInfo < ::TZInfo::DataSources::
1438
1452
  # @return [Boolean] `true` if `transition` occurs at or after `timestamp`,
1439
1453
  # otherwise `false`.
1440
1454
  #
1441
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/transitions_data_timezone_info.rb:207
1455
+ # source://tzinfo//lib/tzinfo/data_sources/transitions_data_timezone_info.rb#207
1442
1456
  def transition_on_or_after_timestamp?(transition, timestamp); end
1443
1457
  end
1444
1458
 
@@ -1489,7 +1503,7 @@ end
1489
1503
  # 2038-01-19 03:14:07. Any queries falling after this time may be
1490
1504
  # inaccurate.
1491
1505
  #
1492
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:73
1506
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#72
1493
1507
  class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1494
1508
  # Initializes a new {ZoneinfoDataSource}.
1495
1509
  #
@@ -1524,12 +1538,16 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1524
1538
  # by searching.
1525
1539
  # @return [ZoneinfoDataSource] a new instance of ZoneinfoDataSource
1526
1540
  #
1527
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:241
1541
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#241
1528
1542
  def initialize(zoneinfo_dir = T.unsafe(nil), alternate_iso3166_tab_path = T.unsafe(nil)); end
1529
1543
 
1530
- # Returns the value of attribute country_codes.
1544
+ # Returns a frozen `Array` of all the available ISO 3166-1 alpha-2 country
1545
+ # codes. The identifiers are sorted according to `String#<=>`.
1546
+ #
1547
+ # @return [Array<String>] a frozen `Array` of all the available ISO 3166-1
1548
+ # alpha-2 country codes.
1531
1549
  #
1532
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:208
1550
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#208
1533
1551
  def country_codes; end
1534
1552
 
1535
1553
  # Returns a frozen `Array` of all the available time zone identifiers. The
@@ -1538,13 +1556,13 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1538
1556
  # @return [Array<String>] a frozen `Array` of all the available time zone
1539
1557
  # identifiers.
1540
1558
  #
1541
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:275
1559
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#275
1542
1560
  def data_timezone_identifiers; end
1543
1561
 
1544
1562
  # @return [String] the internal object state as a programmer-readable
1545
1563
  # `String`.
1546
1564
  #
1547
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:294
1565
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#294
1548
1566
  def inspect; end
1549
1567
 
1550
1568
  # Returns an empty `Array`. There is no information about linked/aliased
@@ -1553,17 +1571,17 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1553
1571
  #
1554
1572
  # @return [Array<String>] an empty `Array`.
1555
1573
  #
1556
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:284
1574
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#284
1557
1575
  def linked_timezone_identifiers; end
1558
1576
 
1559
1577
  # @return [String] a description of the {DataSource}.
1560
1578
  #
1561
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:289
1579
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#289
1562
1580
  def to_s; end
1563
1581
 
1564
1582
  # @return [String] the zoneinfo directory being used.
1565
1583
  #
1566
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:205
1584
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#205
1567
1585
  def zoneinfo_dir; end
1568
1586
 
1569
1587
  protected
@@ -1574,7 +1592,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1574
1592
  # @return [DataSources::CountryInfo] a {DataSources::CountryInfo} instance
1575
1593
  # for the given ISO 3166-1 alpha-2 country code.
1576
1594
  #
1577
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:330
1595
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#330
1578
1596
  def load_country_info(code); end
1579
1597
 
1580
1598
  # Returns a {TimezoneInfo} instance for the given time zone identifier.
@@ -1588,7 +1606,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1588
1606
  # @return [TimezoneInfo] a {TimezoneInfo} instance for the given time zone
1589
1607
  # identifier.
1590
1608
  #
1591
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:310
1609
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#310
1592
1610
  def load_timezone_info(identifier); end
1593
1611
 
1594
1612
  private
@@ -1602,7 +1620,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1602
1620
  # @return [Rational] the result of converting from degrees, minutes and
1603
1621
  # seconds to a `Rational`.
1604
1622
  #
1605
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:583
1623
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#583
1606
1624
  def dms_to_rational(sign, degrees, minutes, seconds = T.unsafe(nil)); end
1607
1625
 
1608
1626
  # Recursively enumerate a directory of time zones.
@@ -1616,7 +1634,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1616
1634
  # @yieldparam path [Array<String>] the path of a time zone file as an
1617
1635
  # `Array` of path components.
1618
1636
  #
1619
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:438
1637
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#438
1620
1638
  def enum_timezones(dir, exclude = T.unsafe(nil), &block); end
1621
1639
 
1622
1640
  # Finds a zoneinfo directory using {search_path} and
@@ -1625,7 +1643,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1625
1643
  # @return [Array<String>] an `Array` containing the iso3166.tab and
1626
1644
  # zone.tab paths if a zoneinfo directory was found, otherwise `nil`.
1627
1645
  #
1628
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:393
1646
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#393
1629
1647
  def find_zoneinfo_dir; end
1630
1648
 
1631
1649
  # Uses the iso3166.tab and zone1970.tab or zone.tab files to return a Hash
@@ -1636,7 +1654,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1636
1654
  # @return [Hash<String, CountryInfo>] a mapping from ISO 3166-1 alpha-2
1637
1655
  # country codes to {CountryInfo} instances.
1638
1656
  #
1639
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:467
1657
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#467
1640
1658
  def load_countries(iso3166_tab_path, zone_tab_path); end
1641
1659
 
1642
1660
  # Scans @zoneinfo_dir and returns an `Array` of available time zone
@@ -1645,7 +1663,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1645
1663
  # @return [Array<String>] an `Array` containing all the time zone
1646
1664
  # identifiers found.
1647
1665
  #
1648
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:418
1666
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#418
1649
1667
  def load_timezone_identifiers; end
1650
1668
 
1651
1669
  # Attempts to resolve the path to a tab file given its standard names and
@@ -1658,7 +1676,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1658
1676
  # the tab sub-directory.
1659
1677
  # @return [String] the path to the tab file.
1660
1678
  #
1661
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:376
1679
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#376
1662
1680
  def resolve_tab_path(zoneinfo_path, standard_names, tab_name); end
1663
1681
 
1664
1682
  # Validates a zoneinfo directory and returns the paths to the iso3166.tab
@@ -1675,7 +1693,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1675
1693
  # @return [Array<String>] an `Array` containing the iso3166.tab and
1676
1694
  # zone.tab paths if the directory is valid, otherwise `nil`.
1677
1695
  #
1678
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:349
1696
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#349
1679
1697
  def validate_zoneinfo_dir(path, iso3166_tab_path = T.unsafe(nil)); end
1680
1698
 
1681
1699
  class << self
@@ -1691,7 +1709,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1691
1709
  # @return [Array<String>] an `Array` of paths to check in order to
1692
1710
  # locate an iso3166.tab file.
1693
1711
  #
1694
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:160
1712
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#160
1695
1713
  def alternate_iso3166_tab_search_path; end
1696
1714
 
1697
1715
  # Sets the paths to check to locate an alternate iso3166.tab file if one
@@ -1708,7 +1726,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1708
1726
  # list of paths to check as either an `Array` of `String` or a
1709
1727
  # `File::PATH_SEPARATOR` separated `String`.
1710
1728
  #
1711
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:177
1729
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#177
1712
1730
  def alternate_iso3166_tab_search_path=(alternate_iso3166_tab_search_path); end
1713
1731
 
1714
1732
  # An `Array` of directories that will be checked to find the system
@@ -1722,7 +1740,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1722
1740
  # @return [Array<String>] an `Array` of directories to check in order to
1723
1741
  # find the system zoneinfo directory.
1724
1742
  #
1725
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:127
1743
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#127
1726
1744
  def search_path; end
1727
1745
 
1728
1746
  # Sets the directories to be checked when locating the system zoneinfo
@@ -1740,7 +1758,7 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1740
1758
  # check as either an `Array` of `String` or a `File::PATH_SEPARATOR`
1741
1759
  # separated `String`.
1742
1760
  #
1743
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:145
1761
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#145
1744
1762
  def search_path=(search_path); end
1745
1763
 
1746
1764
  private
@@ -1754,19 +1772,19 @@ class TZInfo::DataSources::ZoneinfoDataSource < ::TZInfo::DataSource
1754
1772
  # @param default [Array<String>] the default value.
1755
1773
  # @return [Array<String>] the processed path.
1756
1774
  #
1757
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:191
1775
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#191
1758
1776
  def process_search_path(path, default); end
1759
1777
  end
1760
1778
  end
1761
1779
 
1762
1780
  # The default value of {ZoneinfoDataSource.alternate_iso3166_tab_search_path}.
1763
1781
  #
1764
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:78
1782
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#78
1765
1783
  TZInfo::DataSources::ZoneinfoDataSource::DEFAULT_ALTERNATE_ISO3166_TAB_SEARCH_PATH = T.let(T.unsafe(nil), Array)
1766
1784
 
1767
1785
  # The default value of {ZoneinfoDataSource.search_path}.
1768
1786
  #
1769
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:74
1787
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#74
1770
1788
  TZInfo::DataSources::ZoneinfoDataSource::DEFAULT_SEARCH_PATH = T.let(T.unsafe(nil), Array)
1771
1789
 
1772
1790
  # Files and directories in the top level zoneinfo directory that will be
@@ -1781,7 +1799,7 @@ TZInfo::DataSources::ZoneinfoDataSource::DEFAULT_SEARCH_PATH = T.let(T.unsafe(ni
1781
1799
  # - src is a directory containing the tzdata source included on Solaris.
1782
1800
  # - timeconfig is a symlink included on Slackware.
1783
1801
  #
1784
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:92
1802
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#92
1785
1803
  TZInfo::DataSources::ZoneinfoDataSource::EXCLUDED_FILENAMES = T.let(T.unsafe(nil), Array)
1786
1804
 
1787
1805
  # A {ZoneinfoDirectoryNotFound} exception is raised if no valid zoneinfo
@@ -1790,12 +1808,12 @@ TZInfo::DataSources::ZoneinfoDataSource::EXCLUDED_FILENAMES = T.let(T.unsafe(nil
1790
1808
  # contains time zone files, a country code index file named iso3166.tab and
1791
1809
  # a time zone index file named zone1970.tab or zone.tab.
1792
1810
  #
1793
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_data_source.rb:23
1811
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_data_source.rb#23
1794
1812
  class TZInfo::DataSources::ZoneinfoDirectoryNotFound < ::StandardError; end
1795
1813
 
1796
1814
  # Reads compiled zoneinfo TZif (\0, 2 or 3) files.
1797
1815
  #
1798
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:16
1816
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#16
1799
1817
  class TZInfo::DataSources::ZoneinfoReader
1800
1818
  # Initializes a new {ZoneinfoReader}.
1801
1819
  #
@@ -1805,7 +1823,7 @@ class TZInfo::DataSources::ZoneinfoReader
1805
1823
  # to dedupe abbreviations.
1806
1824
  # @return [ZoneinfoReader] a new instance of ZoneinfoReader
1807
1825
  #
1808
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:29
1826
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#29
1809
1827
  def initialize(posix_tz_parser, string_deduper); end
1810
1828
 
1811
1829
  # Reads a zoneinfo structure from the given path. Returns either a
@@ -1820,7 +1838,7 @@ class TZInfo::DataSources::ZoneinfoReader
1820
1838
  # @return [Object] either a {TimezoneOffset} or an `Array` of
1821
1839
  # {TimezoneTransition}s.
1822
1840
  #
1823
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:45
1841
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#45
1824
1842
  def read(file_path); end
1825
1843
 
1826
1844
  private
@@ -1843,7 +1861,7 @@ class TZInfo::DataSources::ZoneinfoReader
1843
1861
  # generated transition does not match the offset of the last defined
1844
1862
  # transition.
1845
1863
  #
1846
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:315
1864
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#315
1847
1865
  def apply_rules_with_transitions(file, transitions, offsets, rules); end
1848
1866
 
1849
1867
  # Apply the rules from the TZ string when there were no defined
@@ -1861,7 +1879,7 @@ class TZInfo::DataSources::ZoneinfoReader
1861
1879
  # @return [Object] either a {TimezoneOffset} or an `Array` of
1862
1880
  # {TimezoneTransition}s.
1863
1881
  #
1864
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:203
1882
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#203
1865
1883
  def apply_rules_without_transitions(file, first_offset, rules); end
1866
1884
 
1867
1885
  # Reads the given number of bytes from the given file and checks that the
@@ -1873,7 +1891,7 @@ class TZInfo::DataSources::ZoneinfoReader
1873
1891
  # match the number requested.
1874
1892
  # @return [String] the bytes that were read.
1875
1893
  #
1876
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:80
1894
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#80
1877
1895
  def check_read(file, bytes); end
1878
1896
 
1879
1897
  # Zoneinfo files don't include the offset from standard time (std_offset)
@@ -1885,7 +1903,7 @@ class TZInfo::DataSources::ZoneinfoReader
1885
1903
  # @return [Integer] the index of the offset to be used prior to the first
1886
1904
  # transition.
1887
1905
  #
1888
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:98
1906
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#98
1889
1907
  def derive_offsets(transitions, offsets); end
1890
1908
 
1891
1909
  # Finds an offset that is equivalent to the one specified in the given
@@ -1896,7 +1914,7 @@ class TZInfo::DataSources::ZoneinfoReader
1896
1914
  # @return [TimezoneOffset] the matching offset from `offsets` or `nil`
1897
1915
  # if not found.
1898
1916
  #
1899
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:237
1917
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#237
1900
1918
  def find_existing_offset(offsets, offset); end
1901
1919
 
1902
1920
  # Translates an unsigned 32-bit integer (as returned by unpack) to signed
@@ -1905,7 +1923,7 @@ class TZInfo::DataSources::ZoneinfoReader
1905
1923
  # @param long [Integer] an unsigned 32-bit integer.
1906
1924
  # @return [Integer] {long} translated to signed 32-bit.
1907
1925
  #
1908
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:56
1926
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#56
1909
1927
  def make_signed_int32(long); end
1910
1928
 
1911
1929
  # Translates a pair of unsigned 32-bit integers (as returned by unpack,
@@ -1916,7 +1934,7 @@ class TZInfo::DataSources::ZoneinfoReader
1916
1934
  # @return [Integer] {high} and {low} combined and translated to signed
1917
1935
  # 64-bit.
1918
1936
  #
1919
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:67
1937
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#67
1920
1938
  def make_signed_int64(high, low); end
1921
1939
 
1922
1940
  # Determines if the offset from a transition matches the offset from a
@@ -1928,7 +1946,7 @@ class TZInfo::DataSources::ZoneinfoReader
1928
1946
  # @param rule_offset [TimezoneOffset] an offset from a rule.
1929
1947
  # @return [Boolean] whether the offsets match.
1930
1948
  #
1931
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:183
1949
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#183
1932
1950
  def offset_matches_rule?(offset, rule_offset); end
1933
1951
 
1934
1952
  # Parses a zoneinfo file and returns either a {TimezoneOffset} that is
@@ -1939,7 +1957,7 @@ class TZInfo::DataSources::ZoneinfoReader
1939
1957
  # @return [Object] either a {TimezoneOffset} or an `Array` of
1940
1958
  # {TimezoneTransition}s.
1941
1959
  #
1942
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:347
1960
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#347
1943
1961
  def parse(file); end
1944
1962
 
1945
1963
  # Returns a new AnnualRules instance with standard and daylight savings
@@ -1956,7 +1974,7 @@ class TZInfo::DataSources::ZoneinfoReader
1956
1974
  # either {AnnualRules#std_offset std_offset} or {AnnualRules#dst_offset
1957
1975
  # dst_offset} could be found.
1958
1976
  #
1959
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:254
1977
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#254
1960
1978
  def replace_with_existing_offsets(offsets, annual_rules); end
1961
1979
 
1962
1980
  # Validates the offset indicated to be observed by the rules before the
@@ -1977,7 +1995,7 @@ class TZInfo::DataSources::ZoneinfoReader
1977
1995
  # @return [TimezoneTransition] the last defined transition (either the
1978
1996
  # original instance or a replacement).
1979
1997
  #
1980
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:282
1998
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#282
1981
1999
  def validate_and_fix_last_defined_transition_offset(file, last_defined, first_rule_offset); end
1982
2000
  end
1983
2001
 
@@ -1985,13 +2003,13 @@ end
1985
2003
  #
1986
2004
  # @private
1987
2005
  #
1988
- # source://tzinfo-2.0.5/lib/tzinfo/data_sources/zoneinfo_reader.rb:20
2006
+ # source://tzinfo//lib/tzinfo/data_sources/zoneinfo_reader.rb#20
1989
2007
  TZInfo::DataSources::ZoneinfoReader::GENERATE_UP_TO = T.let(T.unsafe(nil), Integer)
1990
2008
 
1991
2009
  # Represents time zones that are defined by rules that set out when
1992
2010
  # transitions occur.
1993
2011
  #
1994
- # source://tzinfo-2.0.5/lib/tzinfo/data_timezone.rb:8
2012
+ # source://tzinfo//lib/tzinfo/data_timezone.rb#7
1995
2013
  class TZInfo::DataTimezone < ::TZInfo::InfoTimezone
1996
2014
  # Returns the canonical {Timezone} instance for this {DataTimezone}.
1997
2015
  #
@@ -1999,7 +2017,7 @@ class TZInfo::DataTimezone < ::TZInfo::InfoTimezone
1999
2017
  #
2000
2018
  # @return [Timezone] `self`.
2001
2019
  #
2002
- # source://tzinfo-2.0.5/lib/tzinfo/data_timezone.rb:40
2020
+ # source://tzinfo//lib/tzinfo/data_timezone.rb#40
2003
2021
  def canonical_zone; end
2004
2022
 
2005
2023
  # Returns the {TimezonePeriod} that is valid at a given time.
@@ -2013,7 +2031,7 @@ class TZInfo::DataTimezone < ::TZInfo::InfoTimezone
2013
2031
  # offset.
2014
2032
  # @return [TimezonePeriod] the {TimezonePeriod} that is valid at `time`.
2015
2033
  #
2016
- # source://tzinfo-2.0.5/lib/tzinfo/data_timezone.rb:9
2034
+ # source://tzinfo//lib/tzinfo/data_timezone.rb#9
2017
2035
  def period_for(time); end
2018
2036
 
2019
2037
  # Returns the set of {TimezonePeriod}s that are valid for the given
@@ -2036,7 +2054,7 @@ class TZInfo::DataTimezone < ::TZInfo::InfoTimezone
2036
2054
  # @return [Array<TimezonePeriod>] the set of {TimezonePeriod}s that are
2037
2055
  # valid at `local_time`.
2038
2056
  #
2039
- # source://tzinfo-2.0.5/lib/tzinfo/data_timezone.rb:17
2057
+ # source://tzinfo//lib/tzinfo/data_timezone.rb#17
2040
2058
  def periods_for_local(local_time); end
2041
2059
 
2042
2060
  # Returns an `Array` of {TimezoneTransition} instances representing the
@@ -2064,7 +2082,7 @@ class TZInfo::DataTimezone < ::TZInfo::InfoTimezone
2064
2082
  # `to` and, if specified, at or later than `from`. Transitions are ordered
2065
2083
  # by when they occur, from earliest to latest.
2066
2084
  #
2067
- # source://tzinfo-2.0.5/lib/tzinfo/data_timezone.rb:23
2085
+ # source://tzinfo//lib/tzinfo/data_timezone.rb#23
2068
2086
  def transitions_up_to(to, from = T.unsafe(nil)); end
2069
2087
  end
2070
2088
 
@@ -2081,14 +2099,14 @@ end
2081
2099
  # results of arithmetic operations will always maintain the same offset from
2082
2100
  # UTC (`offset`). The associated {TimezoneOffset} will aways be cleared.
2083
2101
  #
2084
- # source://tzinfo-2.0.5/lib/tzinfo/datetime_with_offset.rb:19
2102
+ # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#19
2085
2103
  class TZInfo::DateTimeWithOffset < ::DateTime
2086
2104
  include ::TZInfo::WithOffset
2087
2105
 
2088
2106
  # An overridden version of `DateTime#downto` that clears the associated
2089
2107
  # {TimezoneOffset} of the returned or yielded instances.
2090
2108
  #
2091
- # source://tzinfo-2.0.5/lib/tzinfo/datetime_with_offset.rb:61
2109
+ # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#61
2092
2110
  def downto(min); end
2093
2111
 
2094
2112
  # An overridden version of `DateTime#england` that preserves the associated
@@ -2096,7 +2114,7 @@ class TZInfo::DateTimeWithOffset < ::DateTime
2096
2114
  #
2097
2115
  # @return [DateTime]
2098
2116
  #
2099
- # source://tzinfo-2.0.5/lib/tzinfo/datetime_with_offset.rb:75
2117
+ # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#75
2100
2118
  def england; end
2101
2119
 
2102
2120
  # An overridden version of `DateTime#gregorian` that preserves the
@@ -2104,7 +2122,7 @@ class TZInfo::DateTimeWithOffset < ::DateTime
2104
2122
  #
2105
2123
  # @return [DateTime]
2106
2124
  #
2107
- # source://tzinfo-2.0.5/lib/tzinfo/datetime_with_offset.rb:85
2125
+ # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#85
2108
2126
  def gregorian; end
2109
2127
 
2110
2128
  # An overridden version of `DateTime#italy` that preserves the associated
@@ -2112,7 +2130,7 @@ class TZInfo::DateTimeWithOffset < ::DateTime
2112
2130
  #
2113
2131
  # @return [DateTime]
2114
2132
  #
2115
- # source://tzinfo-2.0.5/lib/tzinfo/datetime_with_offset.rb:95
2133
+ # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#95
2116
2134
  def italy; end
2117
2135
 
2118
2136
  # An overridden version of `DateTime#julian` that preserves the associated
@@ -2120,7 +2138,7 @@ class TZInfo::DateTimeWithOffset < ::DateTime
2120
2138
  #
2121
2139
  # @return [DateTime]
2122
2140
  #
2123
- # source://tzinfo-2.0.5/lib/tzinfo/datetime_with_offset.rb:105
2141
+ # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#105
2124
2142
  def julian; end
2125
2143
 
2126
2144
  # An overridden version of `DateTime#new_start` that preserves the
@@ -2128,7 +2146,7 @@ class TZInfo::DateTimeWithOffset < ::DateTime
2128
2146
  #
2129
2147
  # @return [DateTime]
2130
2148
  #
2131
- # source://tzinfo-2.0.5/lib/tzinfo/datetime_with_offset.rb:115
2149
+ # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#115
2132
2150
  def new_start(start = T.unsafe(nil)); end
2133
2151
 
2134
2152
  # Sets the associated {TimezoneOffset}.
@@ -2140,19 +2158,19 @@ class TZInfo::DateTimeWithOffset < ::DateTime
2140
2158
  # equal `self.offset * 86400`.
2141
2159
  # @return [DateTimeWithOffset] `self`.
2142
2160
  #
2143
- # source://tzinfo-2.0.5/lib/tzinfo/datetime_with_offset.rb:34
2161
+ # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#34
2144
2162
  def set_timezone_offset(timezone_offset); end
2145
2163
 
2146
2164
  # An overridden version of `DateTime#step` that clears the associated
2147
2165
  # {TimezoneOffset} of the returned or yielded instances.
2148
2166
  #
2149
- # source://tzinfo-2.0.5/lib/tzinfo/datetime_with_offset.rb:121
2167
+ # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#121
2150
2168
  def step(limit, step = T.unsafe(nil)); end
2151
2169
 
2152
2170
  # @return [TimezoneOffset] the {TimezoneOffset} associated with this
2153
2171
  # instance.
2154
2172
  #
2155
- # source://tzinfo-2.0.5/lib/tzinfo/datetime_with_offset.rb:24
2173
+ # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#24
2156
2174
  def timezone_offset; end
2157
2175
 
2158
2176
  # An overridden version of `DateTime#to_time` that, if there is an
@@ -2163,13 +2181,13 @@ class TZInfo::DateTimeWithOffset < ::DateTime
2163
2181
  # {TimeWithOffset} representation of this {DateTimeWithOffset}, otherwise
2164
2182
  # a `Time` representation.
2165
2183
  #
2166
- # source://tzinfo-2.0.5/lib/tzinfo/datetime_with_offset.rb:48
2184
+ # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#48
2167
2185
  def to_time; end
2168
2186
 
2169
2187
  # An overridden version of `DateTime#upto` that clears the associated
2170
2188
  # {TimezoneOffset} of the returned or yielded instances.
2171
2189
  #
2172
- # source://tzinfo-2.0.5/lib/tzinfo/datetime_with_offset.rb:133
2190
+ # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#133
2173
2191
  def upto(max); end
2174
2192
 
2175
2193
  protected
@@ -2178,7 +2196,7 @@ class TZInfo::DateTimeWithOffset < ::DateTime
2178
2196
  #
2179
2197
  # @return [DateTimeWithOffset] `self`.
2180
2198
  #
2181
- # source://tzinfo-2.0.5/lib/tzinfo/datetime_with_offset.rb:148
2199
+ # source://tzinfo//lib/tzinfo/datetime_with_offset.rb#148
2182
2200
  def clear_timezone_offset; end
2183
2201
  end
2184
2202
 
@@ -2187,7 +2205,7 @@ end
2187
2205
  #
2188
2206
  # @private
2189
2207
  #
2190
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:339
2208
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#339
2191
2209
  class TZInfo::DayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule
2192
2210
  # Initializes a new {DayOfMonthTransitionRule}.
2193
2211
  #
@@ -2207,7 +2225,7 @@ class TZInfo::DayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule
2207
2225
  # @raise [ArgumentError] if `day_of_week` is less than 0 or greater than 6.
2208
2226
  # @return [DayOfMonthTransitionRule] a new instance of DayOfMonthTransitionRule
2209
2227
  #
2210
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:340
2228
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#340
2211
2229
  def initialize(month, week, day_of_week, transition_at = T.unsafe(nil)); end
2212
2230
 
2213
2231
  # Determines if this {DayOfMonthTransitionRule} is equal to another
@@ -2218,7 +2236,7 @@ class TZInfo::DayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule
2218
2236
  # same {transition_at}, month, week and day of week as this
2219
2237
  # {DayOfMonthTransitionRule}, otherwise `false`.
2220
2238
  #
2221
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:353
2239
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#353
2222
2240
  def ==(r); end
2223
2241
 
2224
2242
  # Determines if this {DayOfMonthTransitionRule} is equal to another
@@ -2229,7 +2247,7 @@ class TZInfo::DayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule
2229
2247
  # same {transition_at}, month, week and day of week as this
2230
2248
  # {DayOfMonthTransitionRule}, otherwise `false`.
2231
2249
  #
2232
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:353
2250
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#353
2233
2251
  def eql?(r); end
2234
2252
 
2235
2253
  protected
@@ -2243,19 +2261,19 @@ class TZInfo::DayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule
2243
2261
  # @return [Time] midnight local time on the day specified by the rule for
2244
2262
  # the given offset and year.
2245
2263
  #
2246
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:372
2264
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#372
2247
2265
  def get_day(offset, year); end
2248
2266
 
2249
2267
  # @return [Array] an `Array` of parameters that will influence the output of
2250
2268
  # {hash}.
2251
2269
  #
2252
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:386
2270
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#386
2253
2271
  def hash_args; end
2254
2272
 
2255
2273
  # @return [Integer] the day the week starts on for a month starting on a
2256
2274
  # Sunday.
2257
2275
  #
2258
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:362
2276
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#362
2259
2277
  def offset_start; end
2260
2278
  end
2261
2279
 
@@ -2265,7 +2283,7 @@ end
2265
2283
  # @abstract
2266
2284
  # @private
2267
2285
  #
2268
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:273
2286
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#273
2269
2287
  class TZInfo::DayOfWeekTransitionRule < ::TZInfo::TransitionRule
2270
2288
  # Initializes a new {DayOfWeekTransitionRule}.
2271
2289
  #
@@ -2281,7 +2299,7 @@ class TZInfo::DayOfWeekTransitionRule < ::TZInfo::TransitionRule
2281
2299
  # @raise [ArgumentError] if `day_of_week` is less than 0 or greater than 6.
2282
2300
  # @return [DayOfWeekTransitionRule] a new instance of DayOfWeekTransitionRule
2283
2301
  #
2284
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:274
2302
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#274
2285
2303
  def initialize(month, day_of_week, transition_at); end
2286
2304
 
2287
2305
  # Determines if this {DayOfWeekTransitionRule} is equal to another
@@ -2292,7 +2310,7 @@ class TZInfo::DayOfWeekTransitionRule < ::TZInfo::TransitionRule
2292
2310
  # same {transition_at}, month and day of week as this
2293
2311
  # {DayOfWeekTransitionRule}, otherwise `false`.
2294
2312
  #
2295
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:299
2313
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#299
2296
2314
  def ==(r); end
2297
2315
 
2298
2316
  # Determines if this {DayOfWeekTransitionRule} is equal to another
@@ -2303,35 +2321,35 @@ class TZInfo::DayOfWeekTransitionRule < ::TZInfo::TransitionRule
2303
2321
  # same {transition_at}, month and day of week as this
2304
2322
  # {DayOfWeekTransitionRule}, otherwise `false`.
2305
2323
  #
2306
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:299
2324
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#299
2307
2325
  def eql?(r); end
2308
2326
 
2309
2327
  # @return [Boolean] `false`.
2310
2328
  #
2311
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:283
2329
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#283
2312
2330
  def is_always_first_day_of_year?; end
2313
2331
 
2314
2332
  # @return [Boolean] `false`.
2315
2333
  #
2316
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:288
2334
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#288
2317
2335
  def is_always_last_day_of_year?; end
2318
2336
 
2319
2337
  protected
2320
2338
 
2321
2339
  # @return [Integer] the day of the week (0 to 6 for Sunday to Monday).
2322
2340
  #
2323
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:310
2341
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#310
2324
2342
  def day_of_week; end
2325
2343
 
2326
2344
  # @return [Array] an `Array` of parameters that will influence the output of
2327
2345
  # {hash}.
2328
2346
  #
2329
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:313
2347
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#313
2330
2348
  def hash_args; end
2331
2349
 
2332
2350
  # @return [Integer] the month of the year (1 to 12).
2333
2351
  #
2334
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:307
2352
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#307
2335
2353
  def month; end
2336
2354
  end
2337
2355
 
@@ -2341,7 +2359,7 @@ end
2341
2359
  # @abstract
2342
2360
  # @private
2343
2361
  #
2344
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:81
2362
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#81
2345
2363
  class TZInfo::DayOfYearTransitionRule < ::TZInfo::TransitionRule
2346
2364
  # Initializes a new {DayOfYearTransitionRule}.
2347
2365
  #
@@ -2353,7 +2371,7 @@ class TZInfo::DayOfYearTransitionRule < ::TZInfo::TransitionRule
2353
2371
  # @raise [ArgumentError] if `day` is not an `Integer`.
2354
2372
  # @return [DayOfYearTransitionRule] a new instance of DayOfYearTransitionRule
2355
2373
  #
2356
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:82
2374
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#82
2357
2375
  def initialize(day, transition_at); end
2358
2376
 
2359
2377
  # Determines if this {DayOfYearTransitionRule} is equal to another instance.
@@ -2363,7 +2381,7 @@ class TZInfo::DayOfYearTransitionRule < ::TZInfo::TransitionRule
2363
2381
  # same {transition_at} and day as this {DayOfYearTransitionRule},
2364
2382
  # otherwise `false`.
2365
2383
  #
2366
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:94
2384
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#94
2367
2385
  def ==(r); end
2368
2386
 
2369
2387
  # Determines if this {DayOfYearTransitionRule} is equal to another instance.
@@ -2373,7 +2391,7 @@ class TZInfo::DayOfYearTransitionRule < ::TZInfo::TransitionRule
2373
2391
  # same {transition_at} and day as this {DayOfYearTransitionRule},
2374
2392
  # otherwise `false`.
2375
2393
  #
2376
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:94
2394
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#94
2377
2395
  def eql?(r); end
2378
2396
 
2379
2397
  protected
@@ -2381,12 +2399,12 @@ class TZInfo::DayOfYearTransitionRule < ::TZInfo::TransitionRule
2381
2399
  # @return [Array] an `Array` of parameters that will influence the output of
2382
2400
  # {hash}.
2383
2401
  #
2384
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:105
2402
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#105
2385
2403
  def hash_args; end
2386
2404
 
2387
2405
  # @return [Integer] the day multipled by the number of seconds in a day.
2388
2406
  #
2389
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:102
2407
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#102
2390
2408
  def seconds; end
2391
2409
  end
2392
2410
 
@@ -2394,7 +2412,7 @@ end
2394
2412
  #
2395
2413
  # @private
2396
2414
  #
2397
- # source://tzinfo-2.0.5/lib/tzinfo/format1.rb:7
2415
+ # source://tzinfo//lib/tzinfo/format1.rb#7
2398
2416
  module TZInfo::Format1; end
2399
2417
 
2400
2418
  # Instances of {Format1::CountryDefiner} are yielded to the format 1 version
@@ -2403,13 +2421,13 @@ module TZInfo::Format1; end
2403
2421
  #
2404
2422
  # @private
2405
2423
  #
2406
- # source://tzinfo-2.0.5/lib/tzinfo/format1/country_definer.rb:11
2424
+ # source://tzinfo//lib/tzinfo/format1/country_definer.rb#11
2407
2425
  class TZInfo::Format1::CountryDefiner < ::TZInfo::Format2::CountryDefiner
2408
2426
  # Initializes a new {CountryDefiner}.
2409
2427
  #
2410
2428
  # @return [CountryDefiner] a new instance of CountryDefiner
2411
2429
  #
2412
- # source://tzinfo-2.0.5/lib/tzinfo/format1/country_definer.rb:12
2430
+ # source://tzinfo//lib/tzinfo/format1/country_definer.rb#12
2413
2431
  def initialize(identifier_deduper, description_deduper); end
2414
2432
  end
2415
2433
 
@@ -2420,7 +2438,7 @@ end
2420
2438
  #
2421
2439
  # @private
2422
2440
  #
2423
- # source://tzinfo-2.0.5/lib/tzinfo/format1/country_index_definition.rb:11
2441
+ # source://tzinfo//lib/tzinfo/format1/country_index_definition.rb#11
2424
2442
  module TZInfo::Format1::CountryIndexDefinition
2425
2443
  mixes_in_class_methods ::TZInfo::Format1::CountryIndexDefinition::ClassMethods
2426
2444
 
@@ -2430,7 +2448,7 @@ module TZInfo::Format1::CountryIndexDefinition
2430
2448
  #
2431
2449
  # @param base [Module] the includee.
2432
2450
  #
2433
- # source://tzinfo-2.0.5/lib/tzinfo/format1/country_index_definition.rb:16
2451
+ # source://tzinfo//lib/tzinfo/format1/country_index_definition.rb#16
2434
2452
  def append_features(base); end
2435
2453
  end
2436
2454
  end
@@ -2439,13 +2457,13 @@ end
2439
2457
  #
2440
2458
  # @private
2441
2459
  #
2442
- # source://tzinfo-2.0.5/lib/tzinfo/format1/country_index_definition.rb:25
2460
+ # source://tzinfo//lib/tzinfo/format1/country_index_definition.rb#25
2443
2461
  module TZInfo::Format1::CountryIndexDefinition::ClassMethods
2444
2462
  # @return [Hash<String, DataSources::CountryInfo>] a frozen `Hash`
2445
2463
  # of all the countries that have been defined in the index keyed by
2446
2464
  # their codes.
2447
2465
  #
2448
- # source://tzinfo-2.0.5/lib/tzinfo/format1/country_index_definition.rb:29
2466
+ # source://tzinfo//lib/tzinfo/format1/country_index_definition.rb#29
2449
2467
  def countries; end
2450
2468
 
2451
2469
  private
@@ -2457,7 +2475,7 @@ module TZInfo::Format1::CountryIndexDefinition::ClassMethods
2457
2475
  # @yield [definer] (optional) to obtain the time zones for the country.
2458
2476
  # @yieldparam definer [CountryDefiner] a {CountryDefiner} instance.
2459
2477
  #
2460
- # source://tzinfo-2.0.5/lib/tzinfo/format1/country_index_definition.rb:42
2478
+ # source://tzinfo//lib/tzinfo/format1/country_index_definition.rb#42
2461
2479
  def country(code, name); end
2462
2480
  end
2463
2481
 
@@ -2467,7 +2485,7 @@ end
2467
2485
  #
2468
2486
  # @private
2469
2487
  #
2470
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_definer.rb:11
2488
+ # source://tzinfo//lib/tzinfo/format1/timezone_definer.rb#11
2471
2489
  class TZInfo::Format1::TimezoneDefiner < ::TZInfo::Format2::TimezoneDefiner
2472
2490
  # Defines an offset.
2473
2491
  #
@@ -2482,7 +2500,7 @@ class TZInfo::Format1::TimezoneDefiner < ::TZInfo::Format2::TimezoneDefiner
2482
2500
  # @raise [ArgumentError] if another offset has already been defined with
2483
2501
  # the given id.
2484
2502
  #
2485
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_definer.rb:26
2503
+ # source://tzinfo//lib/tzinfo/format1/timezone_definer.rb#26
2486
2504
  def offset(id, utc_offset, std_offset, abbreviation); end
2487
2505
 
2488
2506
  # Defines a transition to a given offset.
@@ -2514,7 +2532,7 @@ class TZInfo::Format1::TimezoneDefiner < ::TZInfo::Format2::TimezoneDefiner
2514
2532
  # 4th parameter and the denominator as the 5th parameter. This style of
2515
2533
  # definition is not used in released versions of TZInfo::Data.
2516
2534
  #
2517
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_definer.rb:58
2535
+ # source://tzinfo//lib/tzinfo/format1/timezone_definer.rb#58
2518
2536
  def transition(year, month, offset_id, timestamp_value, datetime_numerator = T.unsafe(nil), datetime_denominator = T.unsafe(nil)); end
2519
2537
  end
2520
2538
 
@@ -2523,7 +2541,7 @@ end
2523
2541
  #
2524
2542
  # @private
2525
2543
  #
2526
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_definition.rb:9
2544
+ # source://tzinfo//lib/tzinfo/format1/timezone_definition.rb#9
2527
2545
  module TZInfo::Format1::TimezoneDefinition
2528
2546
  mixes_in_class_methods ::TZInfo::Format2::TimezoneDefinition::ClassMethods
2529
2547
  mixes_in_class_methods ::TZInfo::Format1::TimezoneDefinition::ClassMethods
@@ -2533,7 +2551,7 @@ module TZInfo::Format1::TimezoneDefinition
2533
2551
  #
2534
2552
  # @param base [Module] the includee.
2535
2553
  #
2536
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_definition.rb:13
2554
+ # source://tzinfo//lib/tzinfo/format1/timezone_definition.rb#13
2537
2555
  def append_features(base); end
2538
2556
  end
2539
2557
  end
@@ -2542,7 +2560,7 @@ end
2542
2560
  #
2543
2561
  # @private
2544
2562
  #
2545
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_definition.rb:22
2563
+ # source://tzinfo//lib/tzinfo/format1/timezone_definition.rb#22
2546
2564
  module TZInfo::Format1::TimezoneDefinition::ClassMethods
2547
2565
  private
2548
2566
 
@@ -2550,7 +2568,7 @@ module TZInfo::Format1::TimezoneDefinition::ClassMethods
2550
2568
  #
2551
2569
  # @return the class to be instantiated and yielded by
2552
2570
  #
2553
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_definition.rb:27
2571
+ # source://tzinfo//lib/tzinfo/format1/timezone_definition.rb#27
2554
2572
  def timezone_definer_class; end
2555
2573
  end
2556
2574
 
@@ -2560,7 +2578,7 @@ end
2560
2578
  #
2561
2579
  # @private
2562
2580
  #
2563
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_index_definition.rb:10
2581
+ # source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#10
2564
2582
  module TZInfo::Format1::TimezoneIndexDefinition
2565
2583
  mixes_in_class_methods ::TZInfo::Format1::TimezoneIndexDefinition::ClassMethods
2566
2584
 
@@ -2570,7 +2588,7 @@ module TZInfo::Format1::TimezoneIndexDefinition
2570
2588
  #
2571
2589
  # @param base [Module] the includee.
2572
2590
  #
2573
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_index_definition.rb:15
2591
+ # source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#15
2574
2592
  def append_features(base); end
2575
2593
  end
2576
2594
  end
@@ -2579,20 +2597,20 @@ end
2579
2597
  #
2580
2598
  # @private
2581
2599
  #
2582
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_index_definition.rb:28
2600
+ # source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#28
2583
2601
  module TZInfo::Format1::TimezoneIndexDefinition::ClassMethods
2584
2602
  # @return [Array<String>] a frozen `Array` containing the identifiers of
2585
2603
  # all data time zones. Identifiers are sorted according to
2586
2604
  # `String#<=>`.
2587
2605
  #
2588
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_index_definition.rb:32
2606
+ # source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#32
2589
2607
  def data_timezones; end
2590
2608
 
2591
2609
  # @return [Array<String>] a frozen `Array` containing the identifiers of
2592
2610
  # all linked time zones. Identifiers are sorted according to
2593
2611
  # `String#<=>`.
2594
2612
  #
2595
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_index_definition.rb:42
2613
+ # source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#42
2596
2614
  def linked_timezones; end
2597
2615
 
2598
2616
  private
@@ -2601,14 +2619,14 @@ module TZInfo::Format1::TimezoneIndexDefinition::ClassMethods
2601
2619
  #
2602
2620
  # @param identifier [String] the time zone identifier.
2603
2621
  #
2604
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_index_definition.rb:63
2622
+ # source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#63
2605
2623
  def linked_timezone(identifier); end
2606
2624
 
2607
2625
  # Adds a data time zone to the index.
2608
2626
  #
2609
2627
  # @param identifier [String] the time zone identifier.
2610
2628
  #
2611
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_index_definition.rb:54
2629
+ # source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#54
2612
2630
  def timezone(identifier); end
2613
2631
  end
2614
2632
 
@@ -2616,7 +2634,7 @@ end
2616
2634
  #
2617
2635
  # @private
2618
2636
  #
2619
- # source://tzinfo-2.0.5/lib/tzinfo/format2.rb:7
2637
+ # source://tzinfo//lib/tzinfo/format2.rb#7
2620
2638
  module TZInfo::Format2; end
2621
2639
 
2622
2640
  # Instances of {Format2::CountryDefiner} are yielded to the format 2 version
@@ -2625,7 +2643,7 @@ module TZInfo::Format2; end
2625
2643
  #
2626
2644
  # @private
2627
2645
  #
2628
- # source://tzinfo-2.0.5/lib/tzinfo/format2/country_definer.rb:11
2646
+ # source://tzinfo//lib/tzinfo/format2/country_definer.rb#11
2629
2647
  class TZInfo::Format2::CountryDefiner
2630
2648
  # Initializes a new {CountryDefiner}.
2631
2649
  #
@@ -2638,18 +2656,18 @@ class TZInfo::Format2::CountryDefiner
2638
2656
  # use when deduping time zone descriptions.
2639
2657
  # @return [CountryDefiner] a new instance of CountryDefiner
2640
2658
  #
2641
- # source://tzinfo-2.0.5/lib/tzinfo/format2/country_definer.rb:24
2659
+ # source://tzinfo//lib/tzinfo/format2/country_definer.rb#24
2642
2660
  def initialize(shared_timezones, identifier_deduper, description_deduper); end
2643
2661
 
2644
2662
  # @overload timezone
2645
2663
  # @overload timezone
2646
2664
  #
2647
- # source://tzinfo-2.0.5/lib/tzinfo/format2/country_definer.rb:46
2665
+ # source://tzinfo//lib/tzinfo/format2/country_definer.rb#46
2648
2666
  def timezone(identifier_or_reference, latitude_numerator = T.unsafe(nil), latitude_denominator = T.unsafe(nil), longitude_numerator = T.unsafe(nil), longitude_denominator = T.unsafe(nil), description = T.unsafe(nil)); end
2649
2667
 
2650
2668
  # @return [Array<CountryTimezone>] the time zones observed in the country.
2651
2669
  #
2652
- # source://tzinfo-2.0.5/lib/tzinfo/format2/country_definer.rb:13
2670
+ # source://tzinfo//lib/tzinfo/format2/country_definer.rb#13
2653
2671
  def timezones; end
2654
2672
  end
2655
2673
 
@@ -2659,7 +2677,7 @@ end
2659
2677
  #
2660
2678
  # @private
2661
2679
  #
2662
- # source://tzinfo-2.0.5/lib/tzinfo/format2/country_index_definer.rb:10
2680
+ # source://tzinfo//lib/tzinfo/format2/country_index_definer.rb#10
2663
2681
  class TZInfo::Format2::CountryIndexDefiner
2664
2682
  # Initializes a new {CountryIndexDefiner}.
2665
2683
  #
@@ -2669,13 +2687,13 @@ class TZInfo::Format2::CountryIndexDefiner
2669
2687
  # use when deduping time zone descriptions.
2670
2688
  # @return [CountryIndexDefiner] a new instance of CountryIndexDefiner
2671
2689
  #
2672
- # source://tzinfo-2.0.5/lib/tzinfo/format2/country_index_definer.rb:21
2690
+ # source://tzinfo//lib/tzinfo/format2/country_index_definer.rb#21
2673
2691
  def initialize(identifier_deduper, description_deduper); end
2674
2692
 
2675
2693
  # @return [Hash<String, CountryInfo>] a `Hash` of all the countries that
2676
2694
  # have been defined in the index keyed by their codes.
2677
2695
  #
2678
- # source://tzinfo-2.0.5/lib/tzinfo/format2/country_index_definer.rb:13
2696
+ # source://tzinfo//lib/tzinfo/format2/country_index_definer.rb#13
2679
2697
  def countries; end
2680
2698
 
2681
2699
  # Defines a country.
@@ -2687,7 +2705,7 @@ class TZInfo::Format2::CountryIndexDefiner
2687
2705
  # @yieldparam definer [CountryDefiner] a {CountryDefiner}
2688
2706
  # instance that should be used to specify the time zones of the country.
2689
2707
  #
2690
- # source://tzinfo-2.0.5/lib/tzinfo/format2/country_index_definer.rb:56
2708
+ # source://tzinfo//lib/tzinfo/format2/country_index_definer.rb#56
2691
2709
  def country(code, name); end
2692
2710
 
2693
2711
  # Defines a time zone shared by many countries with an reference for
@@ -2702,7 +2720,7 @@ class TZInfo::Format2::CountryIndexDefiner
2702
2720
  # @param longitude_denominator [Integer] the denominator of the longitude.
2703
2721
  # @param description [String] an optional description for the time zone.
2704
2722
  #
2705
- # source://tzinfo-2.0.5/lib/tzinfo/format2/country_index_definer.rb:39
2723
+ # source://tzinfo//lib/tzinfo/format2/country_index_definer.rb#39
2706
2724
  def timezone(reference, identifier, latitude_numerator, latitude_denominator, longitude_numerator, longitude_denominator, description = T.unsafe(nil)); end
2707
2725
  end
2708
2726
 
@@ -2713,7 +2731,7 @@ end
2713
2731
  #
2714
2732
  # @private
2715
2733
  #
2716
- # source://tzinfo-2.0.5/lib/tzinfo/format2/country_index_definition.rb:11
2734
+ # source://tzinfo//lib/tzinfo/format2/country_index_definition.rb#11
2717
2735
  module TZInfo::Format2::CountryIndexDefinition
2718
2736
  mixes_in_class_methods ::TZInfo::Format2::CountryIndexDefinition::ClassMethods
2719
2737
 
@@ -2723,7 +2741,7 @@ module TZInfo::Format2::CountryIndexDefinition
2723
2741
  #
2724
2742
  # @param base [Module] the includee.
2725
2743
  #
2726
- # source://tzinfo-2.0.5/lib/tzinfo/format2/country_index_definition.rb:16
2744
+ # source://tzinfo//lib/tzinfo/format2/country_index_definition.rb#16
2727
2745
  def append_features(base); end
2728
2746
  end
2729
2747
  end
@@ -2732,13 +2750,13 @@ end
2732
2750
  #
2733
2751
  # @private
2734
2752
  #
2735
- # source://tzinfo-2.0.5/lib/tzinfo/format2/country_index_definition.rb:25
2753
+ # source://tzinfo//lib/tzinfo/format2/country_index_definition.rb#25
2736
2754
  module TZInfo::Format2::CountryIndexDefinition::ClassMethods
2737
2755
  # @return [Hash<String, DataSources::CountryInfo>] a frozen `Hash`
2738
2756
  # of all the countries that have been defined in the index keyed by
2739
2757
  # their codes.
2740
2758
  #
2741
- # source://tzinfo-2.0.5/lib/tzinfo/format2/country_index_definition.rb:29
2759
+ # source://tzinfo//lib/tzinfo/format2/country_index_definition.rb#29
2742
2760
  def countries; end
2743
2761
 
2744
2762
  private
@@ -2749,7 +2767,7 @@ module TZInfo::Format2::CountryIndexDefinition::ClassMethods
2749
2767
  # @yieldparam definer [CountryIndexDefiner] a {CountryIndexDefiner}
2750
2768
  # instance that should be used to define the index.
2751
2769
  #
2752
- # source://tzinfo-2.0.5/lib/tzinfo/format2/country_index_definition.rb:38
2770
+ # source://tzinfo//lib/tzinfo/format2/country_index_definition.rb#38
2753
2771
  def country_index; end
2754
2772
  end
2755
2773
 
@@ -2759,7 +2777,7 @@ end
2759
2777
  #
2760
2778
  # @private
2761
2779
  #
2762
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_definer.rb:11
2780
+ # source://tzinfo//lib/tzinfo/format2/timezone_definer.rb#11
2763
2781
  class TZInfo::Format2::TimezoneDefiner
2764
2782
  # Initializes a new TimezoneDefiner.
2765
2783
  #
@@ -2767,7 +2785,7 @@ class TZInfo::Format2::TimezoneDefiner
2767
2785
  # when deduping abbreviations.
2768
2786
  # @return [TimezoneDefiner] a new instance of TimezoneDefiner
2769
2787
  #
2770
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_definer.rb:20
2788
+ # source://tzinfo//lib/tzinfo/format2/timezone_definer.rb#20
2771
2789
  def initialize(string_deduper); end
2772
2790
 
2773
2791
  # Returns the first offset to be defined or `nil` if no offsets have been
@@ -2777,7 +2795,7 @@ class TZInfo::Format2::TimezoneDefiner
2777
2795
  # @return [TimezoneOffset] the first offset to be defined or `nil` if no
2778
2796
  # offsets have been defined.
2779
2797
  #
2780
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_definer.rb:32
2798
+ # source://tzinfo//lib/tzinfo/format2/timezone_definer.rb#32
2781
2799
  def first_offset; end
2782
2800
 
2783
2801
  # Defines an offset.
@@ -2793,7 +2811,7 @@ class TZInfo::Format2::TimezoneDefiner
2793
2811
  # @raise [ArgumentError] if another offset has already been defined with
2794
2812
  # the given id.
2795
2813
  #
2796
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_definer.rb:49
2814
+ # source://tzinfo//lib/tzinfo/format2/timezone_definer.rb#49
2797
2815
  def offset(id, base_utc_offset, std_offset, abbreviation); end
2798
2816
 
2799
2817
  # Defines the rules that will be used for handling instants after the last
@@ -2805,7 +2823,7 @@ class TZInfo::Format2::TimezoneDefiner
2805
2823
  # Support for subsequent rules will be added in a future version of TZInfo
2806
2824
  # and the rules will be included in format 2 releases of TZInfo::Data.
2807
2825
  #
2808
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_definer.rb:90
2826
+ # source://tzinfo//lib/tzinfo/format2/timezone_definer.rb#90
2809
2827
  def subsequent_rules(*args); end
2810
2828
 
2811
2829
  # Defines a transition to a given offset.
@@ -2822,13 +2840,13 @@ class TZInfo::Format2::TimezoneDefiner
2822
2840
  # @raise [ArgumentError] if `timestamp_value` is not greater than the
2823
2841
  # `timestamp_value` of the previously defined transition.
2824
2842
  #
2825
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_definer.rb:74
2843
+ # source://tzinfo//lib/tzinfo/format2/timezone_definer.rb#74
2826
2844
  def transition(offset_id, timestamp_value); end
2827
2845
 
2828
2846
  # @return [Array<TimezoneTransition>] the defined transitions of the time
2829
2847
  # zone.
2830
2848
  #
2831
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_definer.rb:14
2849
+ # source://tzinfo//lib/tzinfo/format2/timezone_definer.rb#14
2832
2850
  def transitions; end
2833
2851
  end
2834
2852
 
@@ -2837,7 +2855,7 @@ end
2837
2855
  #
2838
2856
  # @private
2839
2857
  #
2840
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_definition.rb:9
2858
+ # source://tzinfo//lib/tzinfo/format2/timezone_definition.rb#9
2841
2859
  module TZInfo::Format2::TimezoneDefinition
2842
2860
  mixes_in_class_methods ::TZInfo::Format2::TimezoneDefinition::ClassMethods
2843
2861
 
@@ -2846,7 +2864,7 @@ module TZInfo::Format2::TimezoneDefinition
2846
2864
  #
2847
2865
  # @param base [Module] the includee.
2848
2866
  #
2849
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_definition.rb:13
2867
+ # source://tzinfo//lib/tzinfo/format2/timezone_definition.rb#13
2850
2868
  def append_features(base); end
2851
2869
  end
2852
2870
  end
@@ -2855,11 +2873,11 @@ end
2855
2873
  #
2856
2874
  # @private
2857
2875
  #
2858
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_definition.rb:21
2876
+ # source://tzinfo//lib/tzinfo/format2/timezone_definition.rb#21
2859
2877
  module TZInfo::Format2::TimezoneDefinition::ClassMethods
2860
2878
  # @return [TimezoneInfo] the last time zone to be defined.
2861
2879
  #
2862
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_definition.rb:23
2880
+ # source://tzinfo//lib/tzinfo/format2/timezone_definition.rb#23
2863
2881
  def get; end
2864
2882
 
2865
2883
  private
@@ -2871,7 +2889,7 @@ module TZInfo::Format2::TimezoneDefinition::ClassMethods
2871
2889
  # @param link_to_identifier [String] the identifier the new time zone
2872
2890
  # links to (is an alias for).
2873
2891
  #
2874
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_definition.rb:64
2892
+ # source://tzinfo//lib/tzinfo/format2/timezone_definition.rb#64
2875
2893
  def linked_timezone(identifier, link_to_identifier); end
2876
2894
 
2877
2895
  # Defines a data time zone.
@@ -2881,13 +2899,13 @@ module TZInfo::Format2::TimezoneDefinition::ClassMethods
2881
2899
  # @yieldparam definer [Object] an instance of the class returned by
2882
2900
  # {#timezone_definer_class}, typically {TimezoneDefiner}.
2883
2901
  #
2884
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_definition.rb:41
2902
+ # source://tzinfo//lib/tzinfo/format2/timezone_definition.rb#41
2885
2903
  def timezone(identifier); end
2886
2904
 
2887
2905
  # @return [Class] the class to be instantiated and yielded by
2888
2906
  # {#timezone}.
2889
2907
  #
2890
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_definition.rb:31
2908
+ # source://tzinfo//lib/tzinfo/format2/timezone_definition.rb#31
2891
2909
  def timezone_definer_class; end
2892
2910
  end
2893
2911
 
@@ -2896,7 +2914,7 @@ end
2896
2914
  #
2897
2915
  # @private
2898
2916
  #
2899
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_index_definer.rb:9
2917
+ # source://tzinfo//lib/tzinfo/format2/timezone_index_definer.rb#9
2900
2918
  class TZInfo::Format2::TimezoneIndexDefiner
2901
2919
  # Initializes a new TimezoneDefiner.
2902
2920
  #
@@ -2904,31 +2922,31 @@ class TZInfo::Format2::TimezoneIndexDefiner
2904
2922
  # when deduping identifiers.
2905
2923
  # @return [TimezoneIndexDefiner] a new instance of TimezoneIndexDefiner
2906
2924
  #
2907
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_index_definer.rb:20
2925
+ # source://tzinfo//lib/tzinfo/format2/timezone_index_definer.rb#20
2908
2926
  def initialize(string_deduper); end
2909
2927
 
2910
2928
  # Adds a data time zone to the index.
2911
2929
  #
2912
2930
  # @param identifier [String] the time zone identifier.
2913
2931
  #
2914
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_index_definer.rb:29
2932
+ # source://tzinfo//lib/tzinfo/format2/timezone_index_definer.rb#29
2915
2933
  def data_timezone(identifier); end
2916
2934
 
2917
2935
  # @return [Array<String>] the identifiers of all data time zones.
2918
2936
  #
2919
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_index_definer.rb:11
2937
+ # source://tzinfo//lib/tzinfo/format2/timezone_index_definer.rb#11
2920
2938
  def data_timezones; end
2921
2939
 
2922
2940
  # Adds a linked time zone to the index.
2923
2941
  #
2924
2942
  # @param identifier [String] the time zone identifier.
2925
2943
  #
2926
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_index_definer.rb:38
2944
+ # source://tzinfo//lib/tzinfo/format2/timezone_index_definer.rb#38
2927
2945
  def linked_timezone(identifier); end
2928
2946
 
2929
2947
  # @return [Array<String>] the identifiers of all linked time zones.
2930
2948
  #
2931
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_index_definer.rb:14
2949
+ # source://tzinfo//lib/tzinfo/format2/timezone_index_definer.rb#14
2932
2950
  def linked_timezones; end
2933
2951
  end
2934
2952
 
@@ -2938,7 +2956,7 @@ end
2938
2956
  #
2939
2957
  # @private
2940
2958
  #
2941
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_index_definition.rb:10
2959
+ # source://tzinfo//lib/tzinfo/format2/timezone_index_definition.rb#10
2942
2960
  module TZInfo::Format2::TimezoneIndexDefinition
2943
2961
  mixes_in_class_methods ::TZInfo::Format2::TimezoneIndexDefinition::ClassMethods
2944
2962
 
@@ -2948,7 +2966,7 @@ module TZInfo::Format2::TimezoneIndexDefinition
2948
2966
  #
2949
2967
  # @param base [Module] the includee.
2950
2968
  #
2951
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_index_definition.rb:15
2969
+ # source://tzinfo//lib/tzinfo/format2/timezone_index_definition.rb#15
2952
2970
  def append_features(base); end
2953
2971
  end
2954
2972
  end
@@ -2957,20 +2975,20 @@ end
2957
2975
  #
2958
2976
  # @private
2959
2977
  #
2960
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_index_definition.rb:29
2978
+ # source://tzinfo//lib/tzinfo/format2/timezone_index_definition.rb#29
2961
2979
  module TZInfo::Format2::TimezoneIndexDefinition::ClassMethods
2962
2980
  # @return [Array<String>] a frozen `Array` containing the identifiers of
2963
2981
  # all data time zones. Identifiers are sorted according to
2964
2982
  # `String#<=>`.
2965
2983
  #
2966
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_index_definition.rb:33
2984
+ # source://tzinfo//lib/tzinfo/format2/timezone_index_definition.rb#33
2967
2985
  def data_timezones; end
2968
2986
 
2969
2987
  # @return [Array<String>] a frozen `Array` containing the identifiers of
2970
2988
  # all linked time zones. Identifiers are sorted according to
2971
2989
  # `String#<=>`.
2972
2990
  #
2973
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_index_definition.rb:38
2991
+ # source://tzinfo//lib/tzinfo/format2/timezone_index_definition.rb#38
2974
2992
  def linked_timezones; end
2975
2993
 
2976
2994
  # Defines the index.
@@ -2980,7 +2998,7 @@ module TZInfo::Format2::TimezoneIndexDefinition::ClassMethods
2980
2998
  # @yieldparam definer [TimezoneIndexDefiner] a {TimezoneIndexDefiner}
2981
2999
  # instance that should be used to define the index.
2982
3000
  #
2983
- # source://tzinfo-2.0.5/lib/tzinfo/format2/timezone_index_definition.rb:46
3001
+ # source://tzinfo//lib/tzinfo/format2/timezone_index_definition.rb#46
2984
3002
  def timezone_index; end
2985
3003
  end
2986
3004
 
@@ -2988,7 +3006,7 @@ end
2988
3006
  #
2989
3007
  # @abstract
2990
3008
  #
2991
- # source://tzinfo-2.0.5/lib/tzinfo/info_timezone.rb:16
3009
+ # source://tzinfo//lib/tzinfo/info_timezone.rb#8
2992
3010
  class TZInfo::InfoTimezone < ::TZInfo::Timezone
2993
3011
  # Initializes a new {InfoTimezone}.
2994
3012
  #
@@ -3000,13 +3018,13 @@ class TZInfo::InfoTimezone < ::TZInfo::Timezone
3000
3018
  # data for this {InfoTimezone}.
3001
3019
  # @return [InfoTimezone] a new instance of InfoTimezone
3002
3020
  #
3003
- # source://tzinfo-2.0.5/lib/tzinfo/info_timezone.rb:17
3021
+ # source://tzinfo//lib/tzinfo/info_timezone.rb#17
3004
3022
  def initialize(info); end
3005
3023
 
3006
3024
  # @return [String] the identifier of the time zone, for example,
3007
3025
  # `"Europe/Paris"`.
3008
3026
  #
3009
- # source://tzinfo-2.0.5/lib/tzinfo/info_timezone.rb:23
3027
+ # source://tzinfo//lib/tzinfo/info_timezone.rb#23
3010
3028
  def identifier; end
3011
3029
 
3012
3030
  protected
@@ -3014,26 +3032,26 @@ class TZInfo::InfoTimezone < ::TZInfo::Timezone
3014
3032
  # @return [DataSources::TimezoneInfo] the {DataSources::TimezoneInfo} this
3015
3033
  # {InfoTimezone} is based on.
3016
3034
  #
3017
- # source://tzinfo-2.0.5/lib/tzinfo/info_timezone.rb:31
3035
+ # source://tzinfo//lib/tzinfo/info_timezone.rb#31
3018
3036
  def info; end
3019
3037
  end
3020
3038
 
3021
3039
  # {InvalidCountryCode} is raised by {Country#get} if the code given is not a
3022
3040
  # valid ISO 3166-1 alpha-2 code.
3023
3041
  #
3024
- # source://tzinfo-2.0.5/lib/tzinfo/country.rb:7
3042
+ # source://tzinfo//lib/tzinfo/country.rb#7
3025
3043
  class TZInfo::InvalidCountryCode < ::StandardError; end
3026
3044
 
3027
3045
  # {InvalidDataSource} is raised if the selected {DataSource} doesn't implement
3028
3046
  # one of the required methods.
3029
3047
  #
3030
- # source://tzinfo-2.0.5/lib/tzinfo/data_source.rb:10
3048
+ # source://tzinfo//lib/tzinfo/data_source.rb#10
3031
3049
  class TZInfo::InvalidDataSource < ::StandardError; end
3032
3050
 
3033
3051
  # {InvalidTimezoneIdentifier} is raised by {Timezone.get} if the identifier
3034
3052
  # given is not valid.
3035
3053
  #
3036
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:26
3054
+ # source://tzinfo//lib/tzinfo/timezone.rb#26
3037
3055
  class TZInfo::InvalidTimezoneIdentifier < ::StandardError; end
3038
3056
 
3039
3057
  # Defines transitions that occur on the one-based nth Julian day of the year.
@@ -3043,7 +3061,7 @@ class TZInfo::InvalidTimezoneIdentifier < ::StandardError; end
3043
3061
  #
3044
3062
  # @private
3045
3063
  #
3046
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:185
3064
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#185
3047
3065
  class TZInfo::JulianDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule
3048
3066
  # Initializes a new {JulianDayOfYearTransitionRule}.
3049
3067
  #
@@ -3056,7 +3074,7 @@ class TZInfo::JulianDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule
3056
3074
  # @raise [ArgumentError] if `day` is less than 1 or greater than 365.
3057
3075
  # @return [JulianDayOfYearTransitionRule] a new instance of JulianDayOfYearTransitionRule
3058
3076
  #
3059
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:202
3077
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#202
3060
3078
  def initialize(day, transition_at = T.unsafe(nil)); end
3061
3079
 
3062
3080
  # Determines if this {JulianDayOfYearTransitionRule} is equal to another
@@ -3067,7 +3085,7 @@ class TZInfo::JulianDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule
3067
3085
  # the same {transition_at} and day as this
3068
3086
  # {JulianDayOfYearTransitionRule}, otherwise `false`.
3069
3087
  #
3070
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:226
3088
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#226
3071
3089
  def ==(r); end
3072
3090
 
3073
3091
  # Determines if this {JulianDayOfYearTransitionRule} is equal to another
@@ -3078,19 +3096,19 @@ class TZInfo::JulianDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule
3078
3096
  # the same {transition_at} and day as this
3079
3097
  # {JulianDayOfYearTransitionRule}, otherwise `false`.
3080
3098
  #
3081
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:226
3099
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#226
3082
3100
  def eql?(r); end
3083
3101
 
3084
3102
  # @return [Boolean] `true` if the day specified by this transition is the
3085
3103
  # first in the year (a day number of 1), otherwise `false`.
3086
3104
  #
3087
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:209
3105
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#209
3088
3106
  def is_always_first_day_of_year?; end
3089
3107
 
3090
3108
  # @return [Boolean] `true` if the day specified by this transition is the
3091
3109
  # last in the year (a day number of 365), otherwise `false`.
3092
3110
  #
3093
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:215
3111
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#215
3094
3112
  def is_always_last_day_of_year?; end
3095
3113
 
3096
3114
  protected
@@ -3104,24 +3122,24 @@ class TZInfo::JulianDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule
3104
3122
  # @return [Time] midnight local time on the day specified by the rule for
3105
3123
  # the given offset and year.
3106
3124
  #
3107
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:241
3125
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#241
3108
3126
  def get_day(offset, year); end
3109
3127
 
3110
3128
  # @return [Array] an `Array` of parameters that will influence the output of
3111
3129
  # {hash}.
3112
3130
  #
3113
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:250
3131
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#250
3114
3132
  def hash_args; end
3115
3133
  end
3116
3134
 
3117
3135
  # The 60 days in seconds.
3118
3136
  #
3119
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:186
3137
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#186
3120
3138
  TZInfo::JulianDayOfYearTransitionRule::LEAP = T.let(T.unsafe(nil), Integer)
3121
3139
 
3122
3140
  # The length of a non-leap year in seconds.
3123
3141
  #
3124
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:190
3142
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#190
3125
3143
  TZInfo::JulianDayOfYearTransitionRule::YEAR = T.let(T.unsafe(nil), Integer)
3126
3144
 
3127
3145
  # A rule that transitions on the last occurrence of a particular day of week
@@ -3129,7 +3147,7 @@ TZInfo::JulianDayOfYearTransitionRule::YEAR = T.let(T.unsafe(nil), Integer)
3129
3147
  #
3130
3148
  # @private
3131
3149
  #
3132
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:408
3150
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#408
3133
3151
  class TZInfo::LastDayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule
3134
3152
  # Initializes a new {LastDayOfMonthTransitionRule}.
3135
3153
  #
@@ -3145,7 +3163,7 @@ class TZInfo::LastDayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule
3145
3163
  # @raise [ArgumentError] if `day_of_week` is less than 0 or greater than 6.
3146
3164
  # @return [LastDayOfMonthTransitionRule] a new instance of LastDayOfMonthTransitionRule
3147
3165
  #
3148
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:409
3166
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#409
3149
3167
  def initialize(month, day_of_week, transition_at = T.unsafe(nil)); end
3150
3168
 
3151
3169
  # Determines if this {LastDayOfMonthTransitionRule} is equal to another
@@ -3156,7 +3174,7 @@ class TZInfo::LastDayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule
3156
3174
  # the same {transition_at}, month and day of week as this
3157
3175
  # {LastDayOfMonthTransitionRule}, otherwise `false`.
3158
3176
  #
3159
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:420
3177
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#420
3160
3178
  def ==(r); end
3161
3179
 
3162
3180
  # Determines if this {LastDayOfMonthTransitionRule} is equal to another
@@ -3167,7 +3185,7 @@ class TZInfo::LastDayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule
3167
3185
  # the same {transition_at}, month and day of week as this
3168
3186
  # {LastDayOfMonthTransitionRule}, otherwise `false`.
3169
3187
  #
3170
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:420
3188
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#420
3171
3189
  def eql?(r); end
3172
3190
 
3173
3191
  protected
@@ -3181,14 +3199,14 @@ class TZInfo::LastDayOfMonthTransitionRule < ::TZInfo::DayOfWeekTransitionRule
3181
3199
  # @return [Time] midnight local time on the day specified by the rule for
3182
3200
  # the given offset and year.
3183
3201
  #
3184
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:435
3202
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#435
3185
3203
  def get_day(offset, year); end
3186
3204
  end
3187
3205
 
3188
3206
  # Represents time zones that are defined as a link to or alias for another
3189
3207
  # time zone.
3190
3208
  #
3191
- # source://tzinfo-2.0.5/lib/tzinfo/linked_timezone.rb:14
3209
+ # source://tzinfo//lib/tzinfo/linked_timezone.rb#6
3192
3210
  class TZInfo::LinkedTimezone < ::TZInfo::InfoTimezone
3193
3211
  # Initializes a new {LinkedTimezone}.
3194
3212
  #
@@ -3200,7 +3218,7 @@ class TZInfo::LinkedTimezone < ::TZInfo::InfoTimezone
3200
3218
  # that will be used as the source of data for this {LinkedTimezone}.
3201
3219
  # @return [LinkedTimezone] a new instance of LinkedTimezone
3202
3220
  #
3203
- # source://tzinfo-2.0.5/lib/tzinfo/linked_timezone.rb:15
3221
+ # source://tzinfo//lib/tzinfo/linked_timezone.rb#15
3204
3222
  def initialize(info); end
3205
3223
 
3206
3224
  # Returns the canonical {Timezone} instance for this {LinkedTimezone}.
@@ -3209,7 +3227,7 @@ class TZInfo::LinkedTimezone < ::TZInfo::InfoTimezone
3209
3227
  #
3210
3228
  # @return [Timezone] the canonical {Timezone} instance for this {Timezone}.
3211
3229
  #
3212
- # source://tzinfo-2.0.5/lib/tzinfo/linked_timezone.rb:40
3230
+ # source://tzinfo//lib/tzinfo/linked_timezone.rb#40
3213
3231
  def canonical_zone; end
3214
3232
 
3215
3233
  # Returns the {TimezonePeriod} that is valid at a given time.
@@ -3223,7 +3241,7 @@ class TZInfo::LinkedTimezone < ::TZInfo::InfoTimezone
3223
3241
  # offset.
3224
3242
  # @return [TimezonePeriod] the {TimezonePeriod} that is valid at `time`.
3225
3243
  #
3226
- # source://tzinfo-2.0.5/lib/tzinfo/linked_timezone.rb:21
3244
+ # source://tzinfo//lib/tzinfo/linked_timezone.rb#21
3227
3245
  def period_for(time); end
3228
3246
 
3229
3247
  # Returns the set of {TimezonePeriod}s that are valid for the given
@@ -3246,7 +3264,7 @@ class TZInfo::LinkedTimezone < ::TZInfo::InfoTimezone
3246
3264
  # @return [Array<TimezonePeriod>] the set of {TimezonePeriod}s that are
3247
3265
  # valid at `local_time`.
3248
3266
  #
3249
- # source://tzinfo-2.0.5/lib/tzinfo/linked_timezone.rb:26
3267
+ # source://tzinfo//lib/tzinfo/linked_timezone.rb#26
3250
3268
  def periods_for_local(local_time); end
3251
3269
 
3252
3270
  # Returns an `Array` of {TimezoneTransition} instances representing the
@@ -3274,14 +3292,14 @@ class TZInfo::LinkedTimezone < ::TZInfo::InfoTimezone
3274
3292
  # `to` and, if specified, at or later than `from`. Transitions are ordered
3275
3293
  # by when they occur, from earliest to latest.
3276
3294
  #
3277
- # source://tzinfo-2.0.5/lib/tzinfo/linked_timezone.rb:31
3295
+ # source://tzinfo//lib/tzinfo/linked_timezone.rb#31
3278
3296
  def transitions_up_to(to, from = T.unsafe(nil)); end
3279
3297
  end
3280
3298
 
3281
3299
  # Represents the infinite period of time in a time zone that constantly
3282
3300
  # observes the same offset from UTC (has an unbounded start and end).
3283
3301
  #
3284
- # source://tzinfo-2.0.5/lib/tzinfo/offset_timezone_period.rb:10
3302
+ # source://tzinfo//lib/tzinfo/offset_timezone_period.rb#6
3285
3303
  class TZInfo::OffsetTimezonePeriod < ::TZInfo::TimezonePeriod
3286
3304
  # Initializes an {OffsetTimezonePeriod}.
3287
3305
  #
@@ -3289,7 +3307,7 @@ class TZInfo::OffsetTimezonePeriod < ::TZInfo::TimezonePeriod
3289
3307
  # @raise [ArgumentError] if `offset` is `nil`.
3290
3308
  # @return [OffsetTimezonePeriod] a new instance of OffsetTimezonePeriod
3291
3309
  #
3292
- # source://tzinfo-2.0.5/lib/tzinfo/offset_timezone_period.rb:11
3310
+ # source://tzinfo//lib/tzinfo/offset_timezone_period.rb#11
3293
3311
  def initialize(offset); end
3294
3312
 
3295
3313
  # Determines if this {OffsetTimezonePeriod} is equal to another instance.
@@ -3298,13 +3316,13 @@ class TZInfo::OffsetTimezonePeriod < ::TZInfo::TimezonePeriod
3298
3316
  # @return [Boolean] `true` if `p` is a {OffsetTimezonePeriod} with the same
3299
3317
  # {offset}, otherwise `false`.
3300
3318
  #
3301
- # source://tzinfo-2.0.5/lib/tzinfo/offset_timezone_period.rb:32
3319
+ # source://tzinfo//lib/tzinfo/offset_timezone_period.rb#32
3302
3320
  def ==(p); end
3303
3321
 
3304
3322
  # @return [TimezoneTransition] the transition that defines the end of this
3305
3323
  # {TimezonePeriod}, always `nil` for {OffsetTimezonePeriod}.
3306
3324
  #
3307
- # source://tzinfo-2.0.5/lib/tzinfo/offset_timezone_period.rb:23
3325
+ # source://tzinfo//lib/tzinfo/offset_timezone_period.rb#23
3308
3326
  def end_transition; end
3309
3327
 
3310
3328
  # Determines if this {OffsetTimezonePeriod} is equal to another instance.
@@ -3313,25 +3331,25 @@ class TZInfo::OffsetTimezonePeriod < ::TZInfo::TimezonePeriod
3313
3331
  # @return [Boolean] `true` if `p` is a {OffsetTimezonePeriod} with the same
3314
3332
  # {offset}, otherwise `false`.
3315
3333
  #
3316
- # source://tzinfo-2.0.5/lib/tzinfo/offset_timezone_period.rb:32
3334
+ # source://tzinfo//lib/tzinfo/offset_timezone_period.rb#32
3317
3335
  def eql?(p); end
3318
3336
 
3319
3337
  # @return [Integer] a hash based on {offset}.
3320
3338
  #
3321
- # source://tzinfo-2.0.5/lib/tzinfo/offset_timezone_period.rb:38
3339
+ # source://tzinfo//lib/tzinfo/offset_timezone_period.rb#38
3322
3340
  def hash; end
3323
3341
 
3324
3342
  # @return [TimezoneTransition] the transition that defines the start of this
3325
3343
  # {TimezonePeriod}, always `nil` for {OffsetTimezonePeriod}.
3326
3344
  #
3327
- # source://tzinfo-2.0.5/lib/tzinfo/offset_timezone_period.rb:17
3345
+ # source://tzinfo//lib/tzinfo/offset_timezone_period.rb#17
3328
3346
  def start_transition; end
3329
3347
  end
3330
3348
 
3331
3349
  # {PeriodNotFound} is raised to indicate that no {TimezonePeriod} matching a
3332
3350
  # given time could be found.
3333
3351
  #
3334
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:21
3352
+ # source://tzinfo//lib/tzinfo/timezone.rb#21
3335
3353
  class TZInfo::PeriodNotFound < ::StandardError; end
3336
3354
 
3337
3355
  # Maintains a pool of `String` instances. The {#dedupe} method will return
@@ -3339,20 +3357,20 @@ class TZInfo::PeriodNotFound < ::StandardError; end
3339
3357
  #
3340
3358
  # @private
3341
3359
  #
3342
- # source://tzinfo-2.0.5/lib/tzinfo/string_deduper.rb:11
3360
+ # source://tzinfo//lib/tzinfo/string_deduper.rb#11
3343
3361
  class TZInfo::StringDeduper
3344
3362
  # Initializes a new {StringDeduper}.
3345
3363
  #
3346
3364
  # @return [StringDeduper] a new instance of StringDeduper
3347
3365
  #
3348
- # source://tzinfo-2.0.5/lib/tzinfo/string_deduper.rb:20
3366
+ # source://tzinfo//lib/tzinfo/string_deduper.rb#20
3349
3367
  def initialize; end
3350
3368
 
3351
3369
  # @param string [String] the string to deduplicate.
3352
3370
  # @return [bool] `string` if it is frozen, otherwise a frozen, possibly
3353
3371
  # pre-existing copy of `string`.
3354
3372
  #
3355
- # source://tzinfo-2.0.5/lib/tzinfo/string_deduper.rb:30
3373
+ # source://tzinfo//lib/tzinfo/string_deduper.rb#30
3356
3374
  def dedupe(string); end
3357
3375
 
3358
3376
  protected
@@ -3362,7 +3380,7 @@ class TZInfo::StringDeduper
3362
3380
  # @param block [Proc] Default value block to be passed to `Hash.new`.
3363
3381
  # @return [Hash] a `Hash` to store pooled `String` instances.
3364
3382
  #
3365
- # source://tzinfo-2.0.5/lib/tzinfo/string_deduper.rb:41
3383
+ # source://tzinfo//lib/tzinfo/string_deduper.rb#41
3366
3384
  def create_hash(&block); end
3367
3385
 
3368
3386
  class << self
@@ -3370,7 +3388,7 @@ class TZInfo::StringDeduper
3370
3388
  # {StringDeduper}. This instance is safe for use in concurrently
3371
3389
  # executing threads.
3372
3390
  #
3373
- # source://tzinfo-2.0.5/lib/tzinfo/string_deduper.rb:16
3391
+ # source://tzinfo//lib/tzinfo/string_deduper.rb#16
3374
3392
  def global; end
3375
3393
  end
3376
3394
  end
@@ -3387,7 +3405,7 @@ end
3387
3405
  # arithmetic operations will always maintain the same offset from UTC
3388
3406
  # (`utc_offset`). The associated {TimezoneOffset} will aways be cleared.
3389
3407
  #
3390
- # source://tzinfo-2.0.5/lib/tzinfo/time_with_offset.rb:16
3408
+ # source://tzinfo//lib/tzinfo/time_with_offset.rb#16
3391
3409
  class TZInfo::TimeWithOffset < ::Time
3392
3410
  include ::TZInfo::WithOffset
3393
3411
 
@@ -3398,7 +3416,7 @@ class TZInfo::TimeWithOffset < ::Time
3398
3416
  # @return [Boolean] `true` if daylight savings time is being observed,
3399
3417
  # otherwise `false`.
3400
3418
  #
3401
- # source://tzinfo-2.0.5/lib/tzinfo/time_with_offset.rb:43
3419
+ # source://tzinfo//lib/tzinfo/time_with_offset.rb#43
3402
3420
  def dst?; end
3403
3421
 
3404
3422
  # An overridden version of `Time#getlocal` that clears the associated
@@ -3408,7 +3426,7 @@ class TZInfo::TimeWithOffset < ::Time
3408
3426
  # @return [Time] a representation of the {TimeWithOffset} using either the
3409
3427
  # local time zone or the given offset.
3410
3428
  #
3411
- # source://tzinfo-2.0.5/lib/tzinfo/time_with_offset.rb:55
3429
+ # source://tzinfo//lib/tzinfo/time_with_offset.rb#55
3412
3430
  def getlocal(*args); end
3413
3431
 
3414
3432
  # An overridden version of `Time#gmtime` that clears the associated
@@ -3416,7 +3434,7 @@ class TZInfo::TimeWithOffset < ::Time
3416
3434
  #
3417
3435
  # @return [TimeWithOffset] `self`.
3418
3436
  #
3419
- # source://tzinfo-2.0.5/lib/tzinfo/time_with_offset.rb:69
3437
+ # source://tzinfo//lib/tzinfo/time_with_offset.rb#69
3420
3438
  def gmtime; end
3421
3439
 
3422
3440
  # An overridden version of `Time#dst?` that, if there is an associated
@@ -3426,7 +3444,7 @@ class TZInfo::TimeWithOffset < ::Time
3426
3444
  # @return [Boolean] `true` if daylight savings time is being observed,
3427
3445
  # otherwise `false`.
3428
3446
  #
3429
- # source://tzinfo-2.0.5/lib/tzinfo/time_with_offset.rb:43
3447
+ # source://tzinfo//lib/tzinfo/time_with_offset.rb#43
3430
3448
  def isdst; end
3431
3449
 
3432
3450
  # An overridden version of `Time#localtime` that clears the associated
@@ -3434,7 +3452,7 @@ class TZInfo::TimeWithOffset < ::Time
3434
3452
  #
3435
3453
  # @return [TimeWithOffset] `self`.
3436
3454
  #
3437
- # source://tzinfo-2.0.5/lib/tzinfo/time_with_offset.rb:79
3455
+ # source://tzinfo//lib/tzinfo/time_with_offset.rb#79
3438
3456
  def localtime(*args); end
3439
3457
 
3440
3458
  # An overridden version of `Time#round` that, if there is an associated
@@ -3442,7 +3460,7 @@ class TZInfo::TimeWithOffset < ::Time
3442
3460
  #
3443
3461
  # @return [Time] the rounded time.
3444
3462
  #
3445
- # source://tzinfo-2.0.5/lib/tzinfo/time_with_offset.rb:89
3463
+ # source://tzinfo//lib/tzinfo/time_with_offset.rb#89
3446
3464
  def round(ndigits = T.unsafe(nil)); end
3447
3465
 
3448
3466
  # Marks this {TimeWithOffset} as a local time with the UTC offset of a given
@@ -3453,13 +3471,13 @@ class TZInfo::TimeWithOffset < ::Time
3453
3471
  # @raise [ArgumentError] if `timezone_offset` is `nil`.
3454
3472
  # @return [TimeWithOffset] `self`.
3455
3473
  #
3456
- # source://tzinfo-2.0.5/lib/tzinfo/time_with_offset.rb:30
3474
+ # source://tzinfo//lib/tzinfo/time_with_offset.rb#30
3457
3475
  def set_timezone_offset(timezone_offset); end
3458
3476
 
3459
3477
  # @return [TimezoneOffset] the {TimezoneOffset} associated with this
3460
3478
  # instance.
3461
3479
  #
3462
- # source://tzinfo-2.0.5/lib/tzinfo/time_with_offset.rb:21
3480
+ # source://tzinfo//lib/tzinfo/time_with_offset.rb#21
3463
3481
  def timezone_offset; end
3464
3482
 
3465
3483
  # An overridden version of `Time#to_a`. The `isdst` (index 8) and `zone`
@@ -3468,7 +3486,7 @@ class TZInfo::TimeWithOffset < ::Time
3468
3486
  #
3469
3487
  # @return [Array] an `Array` representation of the {TimeWithOffset}.
3470
3488
  #
3471
- # source://tzinfo-2.0.5/lib/tzinfo/time_with_offset.rb:98
3489
+ # source://tzinfo//lib/tzinfo/time_with_offset.rb#98
3472
3490
  def to_a; end
3473
3491
 
3474
3492
  # An overridden version of `Time#to_datetime` that, if there is an
@@ -3479,7 +3497,7 @@ class TZInfo::TimeWithOffset < ::Time
3479
3497
  # {DateTimeWithOffset} representation of this {TimeWithOffset}, otherwise
3480
3498
  # a `Time` representation.
3481
3499
  #
3482
- # source://tzinfo-2.0.5/lib/tzinfo/time_with_offset.rb:135
3500
+ # source://tzinfo//lib/tzinfo/time_with_offset.rb#135
3483
3501
  def to_datetime; end
3484
3502
 
3485
3503
  # An overridden version of `Time#utc` that clears the associated
@@ -3487,7 +3505,7 @@ class TZInfo::TimeWithOffset < ::Time
3487
3505
  #
3488
3506
  # @return [TimeWithOffset] `self`.
3489
3507
  #
3490
- # source://tzinfo-2.0.5/lib/tzinfo/time_with_offset.rb:110
3508
+ # source://tzinfo//lib/tzinfo/time_with_offset.rb#110
3491
3509
  def utc; end
3492
3510
 
3493
3511
  # An overridden version of `Time#zone` that, if there is an associated
@@ -3498,7 +3516,7 @@ class TZInfo::TimeWithOffset < ::Time
3498
3516
  # associated {TimezoneOffset}, or the result from `Time#zone` if there is
3499
3517
  # no such offset.
3500
3518
  #
3501
- # source://tzinfo-2.0.5/lib/tzinfo/time_with_offset.rb:123
3519
+ # source://tzinfo//lib/tzinfo/time_with_offset.rb#123
3502
3520
  def zone; end
3503
3521
 
3504
3522
  protected
@@ -3507,7 +3525,7 @@ class TZInfo::TimeWithOffset < ::Time
3507
3525
  #
3508
3526
  # @return [TimeWithOffset] `self`.
3509
3527
  #
3510
- # source://tzinfo-2.0.5/lib/tzinfo/time_with_offset.rb:149
3528
+ # source://tzinfo//lib/tzinfo/time_with_offset.rb#149
3511
3529
  def clear_timezone_offset; end
3512
3530
  end
3513
3531
 
@@ -3518,7 +3536,7 @@ end
3518
3536
  # distinguish between a local time with a zero offset and a time specified
3519
3537
  # explicitly as UTC.
3520
3538
  #
3521
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:11
3539
+ # source://tzinfo//lib/tzinfo/timestamp.rb#11
3522
3540
  class TZInfo::Timestamp
3523
3541
  include ::Comparable
3524
3542
 
@@ -3541,7 +3559,7 @@ class TZInfo::Timestamp
3541
3559
  # not the `Symbol` `:utc`.
3542
3560
  # @return [Timestamp] a new instance of Timestamp
3543
3561
  #
3544
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:344
3562
+ # source://tzinfo//lib/tzinfo/timestamp.rb#344
3545
3563
  def initialize(value, sub_second = T.unsafe(nil), utc_offset = T.unsafe(nil)); end
3546
3564
 
3547
3565
  # Compares this {Timestamp} with another.
@@ -3556,7 +3574,7 @@ class TZInfo::Timestamp
3556
3574
  # that does have a defined UTC offset. Returns `nil` if `t` is not a
3557
3575
  # {Timestamp}.
3558
3576
  #
3559
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:454
3577
+ # source://tzinfo//lib/tzinfo/timestamp.rb#454
3560
3578
  def <=>(t); end
3561
3579
 
3562
3580
  # Adds a number of seconds to the {Timestamp} value, setting the UTC offset
@@ -3573,7 +3591,7 @@ class TZInfo::Timestamp
3573
3591
  # {Timestamp} value as a new {Timestamp} instance with the chosen
3574
3592
  # `utc_offset`.
3575
3593
  #
3576
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:372
3594
+ # source://tzinfo//lib/tzinfo/timestamp.rb#372
3577
3595
  def add_and_set_utc_offset(seconds, utc_offset); end
3578
3596
 
3579
3597
  def eql?(_arg0); end
@@ -3581,13 +3599,13 @@ class TZInfo::Timestamp
3581
3599
  # @return [Integer] a hash based on the value, sub-second and whether there
3582
3600
  # is a defined UTC offset.
3583
3601
  #
3584
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:468
3602
+ # source://tzinfo//lib/tzinfo/timestamp.rb#468
3585
3603
  def hash; end
3586
3604
 
3587
3605
  # @return [String] the internal object state as a programmer-readable
3588
3606
  # `String`.
3589
3607
  #
3590
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:474
3608
+ # source://tzinfo//lib/tzinfo/timestamp.rb#474
3591
3609
  def inspect; end
3592
3610
 
3593
3611
  # Formats this {Timestamp} according to the directives in the given format
@@ -3598,14 +3616,14 @@ class TZInfo::Timestamp
3598
3616
  # @raise [ArgumentError] if `format` is not specified.
3599
3617
  # @return [String] the formatted {Timestamp}.
3600
3618
  #
3601
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:426
3619
+ # source://tzinfo//lib/tzinfo/timestamp.rb#426
3602
3620
  def strftime(format); end
3603
3621
 
3604
3622
  # @return [Numeric] the fraction of a second elapsed since timestamp as
3605
3623
  # either a `Rational` or the `Integer` 0. Always greater than or equal to
3606
3624
  # 0 and less than 1.
3607
3625
  #
3608
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:321
3626
+ # source://tzinfo//lib/tzinfo/timestamp.rb#321
3609
3627
  def sub_second; end
3610
3628
 
3611
3629
  # Converts this {Timestamp} to a Gregorian `DateTime`.
@@ -3614,7 +3632,7 @@ class TZInfo::Timestamp
3614
3632
  # {Timestamp}. If the UTC offset of this {Timestamp} is not specified, a
3615
3633
  # UTC `DateTime` will be returned.
3616
3634
  #
3617
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:406
3635
+ # source://tzinfo//lib/tzinfo/timestamp.rb#406
3618
3636
  def to_datetime; end
3619
3637
 
3620
3638
  # Converts this {Timestamp} to an `Integer` number of seconds since
@@ -3623,12 +3641,12 @@ class TZInfo::Timestamp
3623
3641
  # @return [Integer] an `Integer` representation of this {Timestamp} (the
3624
3642
  # number of seconds since 1970-01-01 00:00:00 UTC ignoring leap seconds).
3625
3643
  #
3626
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:415
3644
+ # source://tzinfo//lib/tzinfo/timestamp.rb#415
3627
3645
  def to_i; end
3628
3646
 
3629
3647
  # @return [String] a `String` representation of this {Timestamp}.
3630
3648
  #
3631
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:432
3649
+ # source://tzinfo//lib/tzinfo/timestamp.rb#432
3632
3650
  def to_s; end
3633
3651
 
3634
3652
  # Converts this {Timestamp} to a `Time`.
@@ -3637,33 +3655,33 @@ class TZInfo::Timestamp
3637
3655
  # offset of this {Timestamp} is not specified, a UTC `Time` will be
3638
3656
  # returned.
3639
3657
  #
3640
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:391
3658
+ # source://tzinfo//lib/tzinfo/timestamp.rb#391
3641
3659
  def to_time; end
3642
3660
 
3643
3661
  # @return [Timestamp] a UTC {Timestamp} equivalent to this instance. Returns
3644
3662
  # `self` if {#utc? self.utc?} is `true`.
3645
3663
  #
3646
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:381
3664
+ # source://tzinfo//lib/tzinfo/timestamp.rb#381
3647
3665
  def utc; end
3648
3666
 
3649
3667
  # @return [Boolean] `true` if this {Timestamp} represents UTC, `false` if
3650
3668
  # the {Timestamp} wasn't specified as UTC or `nil` if the {Timestamp} has
3651
3669
  # no specified offset.
3652
3670
  #
3653
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:355
3671
+ # source://tzinfo//lib/tzinfo/timestamp.rb#355
3654
3672
  def utc?; end
3655
3673
 
3656
3674
  # @return [Integer] the offset from UTC in seconds or `nil` if the
3657
3675
  # {Timestamp} doesn't have a specified offset.
3658
3676
  #
3659
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:325
3677
+ # source://tzinfo//lib/tzinfo/timestamp.rb#325
3660
3678
  def utc_offset; end
3661
3679
 
3662
3680
  # @return [Integer] the number of seconds since 1970-01-01 00:00:00 UTC
3663
3681
  # ignoring leap seconds (i.e. each day is treated as if it were 86,400
3664
3682
  # seconds long).
3665
3683
  #
3666
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:316
3684
+ # source://tzinfo//lib/tzinfo/timestamp.rb#316
3667
3685
  def value; end
3668
3686
 
3669
3687
  protected
@@ -3674,7 +3692,7 @@ class TZInfo::Timestamp
3674
3692
  # @param klass [Class] the class to instantiate.
3675
3693
  # @private
3676
3694
  #
3677
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:496
3695
+ # source://tzinfo//lib/tzinfo/timestamp.rb#496
3678
3696
  def new_datetime(klass = T.unsafe(nil)); end
3679
3697
 
3680
3698
  # Creates a new instance of a `Time` or `Time`-like class matching the
@@ -3683,7 +3701,7 @@ class TZInfo::Timestamp
3683
3701
  # @param klass [Class] the class to instantiate.
3684
3702
  # @private
3685
3703
  #
3686
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:486
3704
+ # source://tzinfo//lib/tzinfo/timestamp.rb#486
3687
3705
  def new_time(klass = T.unsafe(nil)); end
3688
3706
 
3689
3707
  private
@@ -3701,7 +3719,7 @@ class TZInfo::Timestamp
3701
3719
  # specified offset, an offset from UTC specified as an `Integer` number of
3702
3720
  # seconds or the `Symbol` `:utc`).
3703
3721
  #
3704
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:538
3722
+ # source://tzinfo//lib/tzinfo/timestamp.rb#538
3705
3723
  def initialize!(value, sub_second = T.unsafe(nil), utc_offset = T.unsafe(nil)); end
3706
3724
 
3707
3725
  # Converts the {sub_second} value to a `String` suitable for appending to
@@ -3709,7 +3727,7 @@ class TZInfo::Timestamp
3709
3727
  #
3710
3728
  # @return [String] a `String` representation of {sub_second}.
3711
3729
  #
3712
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:518
3730
+ # source://tzinfo//lib/tzinfo/timestamp.rb#518
3713
3731
  def sub_second_to_s; end
3714
3732
 
3715
3733
  # Converts the value and sub-seconds to a `String`, adding on the given
@@ -3718,7 +3736,7 @@ class TZInfo::Timestamp
3718
3736
  # @param offset [Integer] the offset to add to the value.
3719
3737
  # @return [String] the value and sub-seconds.
3720
3738
  #
3721
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:510
3739
+ # source://tzinfo//lib/tzinfo/timestamp.rb#510
3722
3740
  def value_and_sub_second_to_s(offset = T.unsafe(nil)); end
3723
3741
 
3724
3742
  class << self
@@ -3758,7 +3776,7 @@ class TZInfo::Timestamp
3758
3776
  # @return [Timestamp] a new {Timestamp} representing the specified
3759
3777
  # (proleptic Gregorian calendar) date and time.
3760
3778
  #
3761
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:55
3779
+ # source://tzinfo//lib/tzinfo/timestamp.rb#55
3762
3780
  def create(year, month = T.unsafe(nil), day = T.unsafe(nil), hour = T.unsafe(nil), minute = T.unsafe(nil), second = T.unsafe(nil), sub_second = T.unsafe(nil), utc_offset = T.unsafe(nil)); end
3763
3781
 
3764
3782
  # When used without a block, returns a {Timestamp} representation of a
@@ -3793,7 +3811,7 @@ class TZInfo::Timestamp
3793
3811
  # @yieldreturn [Timestamp] a {Timestamp} to be converted back to the type
3794
3812
  # of `value`.
3795
3813
  #
3796
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:112
3814
+ # source://tzinfo//lib/tzinfo/timestamp.rb#112
3797
3815
  def for(value, offset = T.unsafe(nil)); end
3798
3816
 
3799
3817
  # Creates a new UTC {Timestamp}.
@@ -3809,7 +3827,7 @@ class TZInfo::Timestamp
3809
3827
  # @raise [RangeError] if `sub_second` is a `Rational` but that is less
3810
3828
  # than 0 or greater than or equal to 1.
3811
3829
  #
3812
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:172
3830
+ # source://tzinfo//lib/tzinfo/timestamp.rb#172
3813
3831
  def utc(value, sub_second = T.unsafe(nil)); end
3814
3832
 
3815
3833
  private
@@ -3824,7 +3842,7 @@ class TZInfo::Timestamp
3824
3842
  # offset of the result (`:utc`, `nil` or an `Integer`).
3825
3843
  # @return [Timestamp] the {Timestamp} representation of `datetime`.
3826
3844
  #
3827
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:231
3845
+ # source://tzinfo//lib/tzinfo/timestamp.rb#231
3828
3846
  def for_datetime(datetime, ignore_offset, target_utc_offset); end
3829
3847
 
3830
3848
  # Creates a {Timestamp} that represents a given `Time`, optionally
@@ -3836,7 +3854,7 @@ class TZInfo::Timestamp
3836
3854
  # offset of the result (`:utc`, `nil` or an `Integer`).
3837
3855
  # @return [Timestamp] the {Timestamp} representation of `time`.
3838
3856
  #
3839
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:206
3857
+ # source://tzinfo//lib/tzinfo/timestamp.rb#206
3840
3858
  def for_time(time, ignore_offset, target_utc_offset); end
3841
3859
 
3842
3860
  # Creates a {Timestamp} that represents a given `Time`-like object,
@@ -3849,7 +3867,7 @@ class TZInfo::Timestamp
3849
3867
  # offset of the result (`:utc`, `nil` or an `Integer`).
3850
3868
  # @return [Timestamp] the {Timestamp} representation of `time_like`.
3851
3869
  #
3852
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:296
3870
+ # source://tzinfo//lib/tzinfo/timestamp.rb#296
3853
3871
  def for_time_like(time_like, ignore_offset, target_utc_offset); end
3854
3872
 
3855
3873
  # Returns a {Timestamp} that represents another {Timestamp}, optionally
@@ -3864,7 +3882,7 @@ class TZInfo::Timestamp
3864
3882
  # offset of the result (`:utc`, `nil` or an `Integer`).
3865
3883
  # @return [Timestamp] a [Timestamp] representation of `timestamp`.
3866
3884
  #
3867
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:256
3885
+ # source://tzinfo//lib/tzinfo/timestamp.rb#256
3868
3886
  def for_timestamp(timestamp, ignore_offset, target_utc_offset); end
3869
3887
 
3870
3888
  # Determines if an object is like a `Time` (for the purposes of converting
@@ -3874,7 +3892,7 @@ class TZInfo::Timestamp
3874
3892
  # @return [Boolean] `true` if the object is `Time`-like, otherwise
3875
3893
  # `false`.
3876
3894
  #
3877
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:283
3895
+ # source://tzinfo//lib/tzinfo/timestamp.rb#283
3878
3896
  def is_time_like?(value); end
3879
3897
 
3880
3898
  # Constructs a new instance of `self` (i.e. {Timestamp} or a subclass of
@@ -3892,7 +3910,7 @@ class TZInfo::Timestamp
3892
3910
  # of seconds or the `Symbol` `:utc`).
3893
3911
  # @return [Timestamp] a new instance of `self`.
3894
3912
  #
3895
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:192
3913
+ # source://tzinfo//lib/tzinfo/timestamp.rb#192
3896
3914
  def new!(value, sub_second = T.unsafe(nil), utc_offset = T.unsafe(nil)); end
3897
3915
  end
3898
3916
  end
@@ -3900,7 +3918,7 @@ end
3900
3918
  # The Unix epoch (1970-01-01 00:00:00 UTC) as a chronological Julian day
3901
3919
  # number.
3902
3920
  #
3903
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp.rb:16
3921
+ # source://tzinfo//lib/tzinfo/timestamp.rb#16
3904
3922
  TZInfo::Timestamp::JD_EPOCH = T.let(T.unsafe(nil), Integer)
3905
3923
 
3906
3924
  # A subclass of {Timestamp} used to represent local times.
@@ -3911,7 +3929,7 @@ TZInfo::Timestamp::JD_EPOCH = T.let(T.unsafe(nil), Integer)
3911
3929
  # the result). Once the {TimezoneOffset} has been cleared,
3912
3930
  # {TimestampWithOffset} behaves identically to {Timestamp}.
3913
3931
  #
3914
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp_with_offset.rb:12
3932
+ # source://tzinfo//lib/tzinfo/timestamp_with_offset.rb#12
3915
3933
  class TZInfo::TimestampWithOffset < ::TZInfo::Timestamp
3916
3934
  include ::TZInfo::WithOffset
3917
3935
 
@@ -3925,13 +3943,13 @@ class TZInfo::TimestampWithOffset < ::TZInfo::Timestamp
3925
3943
  # `self.utc_offset`.
3926
3944
  # @return [TimestampWithOffset] `self`.
3927
3945
  #
3928
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp_with_offset.rb:47
3946
+ # source://tzinfo//lib/tzinfo/timestamp_with_offset.rb#47
3929
3947
  def set_timezone_offset(timezone_offset); end
3930
3948
 
3931
3949
  # @return [TimezoneOffset] the {TimezoneOffset} associated with this
3932
3950
  # instance.
3933
3951
  #
3934
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp_with_offset.rb:17
3952
+ # source://tzinfo//lib/tzinfo/timestamp_with_offset.rb#17
3935
3953
  def timezone_offset; end
3936
3954
 
3937
3955
  # An overridden version of {Timestamp#to_datetime}, if there is an
@@ -3942,7 +3960,7 @@ class TZInfo::TimestampWithOffset < ::TZInfo::Timestamp
3942
3960
  # {DateTimeWithOffset} representation of this {TimestampWithOffset},
3943
3961
  # otherwise a `DateTime` representation.
3944
3962
  #
3945
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp_with_offset.rb:76
3963
+ # source://tzinfo//lib/tzinfo/timestamp_with_offset.rb#76
3946
3964
  def to_datetime; end
3947
3965
 
3948
3966
  # An overridden version of {Timestamp#to_time} that, if there is an
@@ -3952,7 +3970,7 @@ class TZInfo::TimestampWithOffset < ::TZInfo::Timestamp
3952
3970
  # {TimeWithOffset} representation of this {TimestampWithOffset}, otherwise
3953
3971
  # a `Time` representation.
3954
3972
  #
3955
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp_with_offset.rb:60
3973
+ # source://tzinfo//lib/tzinfo/timestamp_with_offset.rb#60
3956
3974
  def to_time; end
3957
3975
 
3958
3976
  class << self
@@ -3971,7 +3989,7 @@ class TZInfo::TimestampWithOffset < ::TZInfo::Timestamp
3971
3989
  # `timezone_offset` parameter and {timezone_offset timezone_offset} set to
3972
3990
  # the `timezone_offset` parameter.
3973
3991
  #
3974
- # source://tzinfo-2.0.5/lib/tzinfo/timestamp_with_offset.rb:32
3992
+ # source://tzinfo//lib/tzinfo/timestamp_with_offset.rb#32
3975
3993
  def set_timezone_offset(timestamp, timezone_offset); end
3976
3994
  end
3977
3995
  end
@@ -4022,7 +4040,7 @@ end
4022
4040
  # {LinkedTimezone}. The {get_proxy} method and other methods returning
4023
4041
  # collections of time zones return instances of {TimezoneProxy}.
4024
4042
  #
4025
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:80
4043
+ # source://tzinfo//lib/tzinfo/timezone.rb#80
4026
4044
  class TZInfo::Timezone
4027
4045
  include ::Comparable
4028
4046
 
@@ -4033,7 +4051,7 @@ class TZInfo::Timezone
4033
4051
  # `self` and +1 if `tz` is greater than `self`, or `nil` if `tz` is not an
4034
4052
  # instance of {Timezone}.
4035
4053
  #
4036
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1105
4054
+ # source://tzinfo//lib/tzinfo/timezone.rb#1105
4037
4055
  def <=>(tz); end
4038
4056
 
4039
4057
  # Matches `regexp` against the {identifier} of this {Timezone}.
@@ -4043,7 +4061,7 @@ class TZInfo::Timezone
4043
4061
  # @return [Integer] the position the match starts, or `nil` if there is no
4044
4062
  # match.
4045
4063
  #
4046
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1128
4064
+ # source://tzinfo//lib/tzinfo/timezone.rb#1128
4047
4065
  def =~(regexp); end
4048
4066
 
4049
4067
  # Returns a serialized representation of this {Timezone}. This method is
@@ -4052,7 +4070,7 @@ class TZInfo::Timezone
4052
4070
  # @param limit [Integer] the maximum depth to dump - ignored.
4053
4071
  # @return [String] a serialized representation of this {Timezone}.
4054
4072
  #
4055
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1137
4073
+ # source://tzinfo//lib/tzinfo/timezone.rb#1137
4056
4074
  def _dump(limit); end
4057
4075
 
4058
4076
  # @param time [Object] a `Time`, `DateTime` or `Timestamp`.
@@ -4061,7 +4079,7 @@ class TZInfo::Timezone
4061
4079
  # offset.
4062
4080
  # @return [String] the abbreviation of this {Timezone} at the given time.
4063
4081
  #
4064
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1048
4082
+ # source://tzinfo//lib/tzinfo/timezone.rb#1048
4065
4083
  def abbr(time = T.unsafe(nil)); end
4066
4084
 
4067
4085
  # @param time [Object] a `Time`, `DateTime` or `Timestamp`.
@@ -4070,7 +4088,7 @@ class TZInfo::Timezone
4070
4088
  # offset.
4071
4089
  # @return [String] the abbreviation of this {Timezone} at the given time.
4072
4090
  #
4073
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1048
4091
+ # source://tzinfo//lib/tzinfo/timezone.rb#1048
4074
4092
  def abbreviation(time = T.unsafe(nil)); end
4075
4093
 
4076
4094
  # Returns the base offset from UTC in seconds at the given time. This does
@@ -4092,7 +4110,7 @@ class TZInfo::Timezone
4092
4110
  # offset.
4093
4111
  # @return [Integer] the base offset from UTC in seconds at the given time.
4094
4112
  #
4095
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1081
4113
+ # source://tzinfo//lib/tzinfo/timezone.rb#1081
4096
4114
  def base_utc_offset(time = T.unsafe(nil)); end
4097
4115
 
4098
4116
  # Returns the canonical identifier of this time zone.
@@ -4102,7 +4120,7 @@ class TZInfo::Timezone
4102
4120
  #
4103
4121
  # @return [String] the canonical identifier of this time zone.
4104
4122
  #
4105
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:987
4123
+ # source://tzinfo//lib/tzinfo/timezone.rb#987
4106
4124
  def canonical_identifier; end
4107
4125
 
4108
4126
  # Returns the canonical {Timezone} instance for this {Timezone}.
@@ -4144,12 +4162,12 @@ class TZInfo::Timezone
4144
4162
  #
4145
4163
  # @return [Timezone] the canonical {Timezone} instance for this {Timezone}.
4146
4164
  #
4147
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:412
4165
+ # source://tzinfo//lib/tzinfo/timezone.rb#412
4148
4166
  def canonical_zone; end
4149
4167
 
4150
4168
  # @return [TimezonePeriod] the current {TimezonePeriod} for the time zone.
4151
4169
  #
4152
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:997
4170
+ # source://tzinfo//lib/tzinfo/timezone.rb#997
4153
4171
  def current_period; end
4154
4172
 
4155
4173
  # Returns the current local time and {TimezonePeriod} for the time zone as
@@ -4160,7 +4178,7 @@ class TZInfo::Timezone
4160
4178
  # time zone as the first element and the current {TimezonePeriod} for the
4161
4179
  # time zone as the second element.
4162
4180
  #
4163
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1008
4181
+ # source://tzinfo//lib/tzinfo/timezone.rb#1008
4164
4182
  def current_period_and_time; end
4165
4183
 
4166
4184
  # Returns the current local time and {TimezonePeriod} for the time zone as
@@ -4171,7 +4189,7 @@ class TZInfo::Timezone
4171
4189
  # time zone as the first element and the current {TimezonePeriod} for the
4172
4190
  # time zone as the second element.
4173
4191
  #
4174
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1008
4192
+ # source://tzinfo//lib/tzinfo/timezone.rb#1008
4175
4193
  def current_time_and_period; end
4176
4194
 
4177
4195
  # @param time [Object] a `Time`, `DateTime` or `Timestamp`.
@@ -4181,14 +4199,14 @@ class TZInfo::Timezone
4181
4199
  # @return [Boolean] whether daylight savings time is in effect at the given
4182
4200
  # time.
4183
4201
  #
4184
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1059
4202
+ # source://tzinfo//lib/tzinfo/timezone.rb#1059
4185
4203
  def dst?(time = T.unsafe(nil)); end
4186
4204
 
4187
4205
  # @param tz [Object] an `Object` to compare this {Timezone} with.
4188
4206
  # @return [Boolean] `true` if `tz` is an instance of {Timezone} and has the
4189
4207
  # same {identifier} as `self`, otherwise `false`.
4190
4208
  #
4191
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1113
4209
+ # source://tzinfo//lib/tzinfo/timezone.rb#1113
4192
4210
  def eql?(tz); end
4193
4211
 
4194
4212
  # Returns {identifier}, modified to make it more readable. Set
@@ -4206,24 +4224,24 @@ class TZInfo::Timezone
4206
4224
  # (typically a region name) should be omitted.
4207
4225
  # @return [String] the modified identifier.
4208
4226
  #
4209
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:277
4227
+ # source://tzinfo//lib/tzinfo/timezone.rb#277
4210
4228
  def friendly_identifier(skip_first_part = T.unsafe(nil)); end
4211
4229
 
4212
4230
  # @return [Integer] a hash based on the {identifier}.
4213
4231
  #
4214
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1118
4232
+ # source://tzinfo//lib/tzinfo/timezone.rb#1118
4215
4233
  def hash; end
4216
4234
 
4217
4235
  # @return [String] the identifier of the time zone, for example,
4218
4236
  # `"Europe/Paris"`.
4219
4237
  #
4220
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:241
4238
+ # source://tzinfo//lib/tzinfo/timezone.rb#241
4221
4239
  def identifier; end
4222
4240
 
4223
4241
  # @return [String] the internal object state as a programmer-readable
4224
4242
  # `String`.
4225
4243
  #
4226
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:259
4244
+ # source://tzinfo//lib/tzinfo/timezone.rb#259
4227
4245
  def inspect; end
4228
4246
 
4229
4247
  # Creates a `DateTime` object based on the given (Gregorian calendar) date
@@ -4312,7 +4330,7 @@ class TZInfo::Timezone
4312
4330
  # ambiguity unresolved: an empty `Array`, an `Array` containing more than
4313
4331
  # one {TimezonePeriod}, or `nil`.
4314
4332
  #
4315
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:831
4333
+ # source://tzinfo//lib/tzinfo/timezone.rb#831
4316
4334
  def local_datetime(year, month = T.unsafe(nil), day = T.unsafe(nil), hour = T.unsafe(nil), minute = T.unsafe(nil), second = T.unsafe(nil), sub_second = T.unsafe(nil), dst = T.unsafe(nil), &block); end
4317
4335
 
4318
4336
  # Creates a `Time` object based on the given (Gregorian calendar) date and
@@ -4400,7 +4418,7 @@ class TZInfo::Timezone
4400
4418
  # ambiguity unresolved: an empty `Array`, an `Array` containing more than
4401
4419
  # one {TimezonePeriod}, or `nil`.
4402
4420
  #
4403
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:743
4421
+ # source://tzinfo//lib/tzinfo/timezone.rb#743
4404
4422
  def local_time(year, month = T.unsafe(nil), day = T.unsafe(nil), hour = T.unsafe(nil), minute = T.unsafe(nil), second = T.unsafe(nil), sub_second = T.unsafe(nil), dst = T.unsafe(nil), &block); end
4405
4423
 
4406
4424
  # Creates a {Timestamp} object based on the given (Gregorian calendar) date
@@ -4488,7 +4506,7 @@ class TZInfo::Timezone
4488
4506
  # ambiguity unresolved: an empty `Array`, an `Array` containing more than
4489
4507
  # one {TimezonePeriod}, or `nil`.
4490
4508
  #
4491
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:919
4509
+ # source://tzinfo//lib/tzinfo/timezone.rb#919
4492
4510
  def local_timestamp(year, month = T.unsafe(nil), day = T.unsafe(nil), hour = T.unsafe(nil), minute = T.unsafe(nil), second = T.unsafe(nil), sub_second = T.unsafe(nil), dst = T.unsafe(nil), &block); end
4493
4511
 
4494
4512
  # Converts a local time for the time zone to UTC.
@@ -4557,18 +4575,18 @@ class TZInfo::Timezone
4557
4575
  # ambiguity unresolved: an empty `Array`, an `Array` containing more than
4558
4576
  # one {TimezonePeriod}, or `nil`.
4559
4577
  #
4560
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:645
4578
+ # source://tzinfo//lib/tzinfo/timezone.rb#645
4561
4579
  def local_to_utc(local_time, dst = T.unsafe(nil)); end
4562
4580
 
4563
4581
  # @return [String] the identifier of the time zone, for example,
4564
4582
  # `"Europe/Paris"`.
4565
4583
  #
4566
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:247
4584
+ # source://tzinfo//lib/tzinfo/timezone.rb#247
4567
4585
  def name; end
4568
4586
 
4569
4587
  # @return [TimeWithOffset] the current local time in the time zone.
4570
4588
  #
4571
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:992
4589
+ # source://tzinfo//lib/tzinfo/timezone.rb#992
4572
4590
  def now; end
4573
4591
 
4574
4592
  # Returns the observed offset from UTC in seconds at the given time. This
@@ -4581,7 +4599,7 @@ class TZInfo::Timezone
4581
4599
  # @return [Integer] the observed offset from UTC in seconds at the given
4582
4600
  # time.
4583
4601
  #
4584
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1094
4602
+ # source://tzinfo//lib/tzinfo/timezone.rb#1094
4585
4603
  def observed_utc_offset(time = T.unsafe(nil)); end
4586
4604
 
4587
4605
  # Returns the unique offsets used by the time zone up to a given time (`to`)
@@ -4606,7 +4624,7 @@ class TZInfo::Timezone
4606
4624
  # `to` and, if specified, at or later than `from`. Offsets may be returned
4607
4625
  # in any order.
4608
4626
  #
4609
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:947
4627
+ # source://tzinfo//lib/tzinfo/timezone.rb#947
4610
4628
  def offsets_up_to(to, from = T.unsafe(nil)); end
4611
4629
 
4612
4630
  # Returns the {TimezonePeriod} that is valid at a given time.
@@ -4620,7 +4638,7 @@ class TZInfo::Timezone
4620
4638
  # offset.
4621
4639
  # @return [TimezonePeriod] the {TimezonePeriod} that is valid at `time`.
4622
4640
  #
4623
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:319
4641
+ # source://tzinfo//lib/tzinfo/timezone.rb#319
4624
4642
  def period_for(time); end
4625
4643
 
4626
4644
  # Returns the {TimezonePeriod} that is valid at the given local time.
@@ -4688,7 +4706,7 @@ class TZInfo::Timezone
4688
4706
  # ambiguity unresolved: an empty `Array`, an `Array` containing more than
4689
4707
  # one {TimezonePeriod}, or `nil`.
4690
4708
  #
4691
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:494
4709
+ # source://tzinfo//lib/tzinfo/timezone.rb#494
4692
4710
  def period_for_local(local_time, dst = T.unsafe(nil)); end
4693
4711
 
4694
4712
  # Returns the {TimezonePeriod} that is valid at a given time.
@@ -4701,7 +4719,7 @@ class TZInfo::Timezone
4701
4719
  # @raise [ArgumentError] if `utc_time` is `nil`.
4702
4720
  # @return [TimezonePeriod] the {TimezonePeriod} that is valid at `utc_time`.
4703
4721
  #
4704
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:425
4722
+ # source://tzinfo//lib/tzinfo/timezone.rb#425
4705
4723
  def period_for_utc(utc_time); end
4706
4724
 
4707
4725
  # Returns the set of {TimezonePeriod}s that are valid for the given
@@ -4724,7 +4742,7 @@ class TZInfo::Timezone
4724
4742
  # @return [Array<TimezonePeriod>] the set of {TimezonePeriod}s that are
4725
4743
  # valid at `local_time`.
4726
4744
  #
4727
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:342
4745
+ # source://tzinfo//lib/tzinfo/timezone.rb#342
4728
4746
  def periods_for_local(local_time); end
4729
4747
 
4730
4748
  # Converts a time to local time for the time zone and returns a `String`
@@ -4747,7 +4765,7 @@ class TZInfo::Timezone
4747
4765
  # offset.
4748
4766
  # @return [String] the formatted local time.
4749
4767
  #
4750
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1039
4768
+ # source://tzinfo//lib/tzinfo/timezone.rb#1039
4751
4769
  def strftime(format, time = T.unsafe(nil)); end
4752
4770
 
4753
4771
  # Converts a time to the local time for the time zone.
@@ -4768,12 +4786,12 @@ class TZInfo::Timezone
4768
4786
  # @return [Object] the local equivalent of `time` as a {TimeWithOffset},
4769
4787
  # {DateTimeWithOffset} or {TimestampWithOffset}.
4770
4788
  #
4771
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:548
4789
+ # source://tzinfo//lib/tzinfo/timezone.rb#548
4772
4790
  def to_local(time); end
4773
4791
 
4774
4792
  # @return [String] {identifier}, modified to make it more readable.
4775
4793
  #
4776
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:253
4794
+ # source://tzinfo//lib/tzinfo/timezone.rb#253
4777
4795
  def to_s; end
4778
4796
 
4779
4797
  # Returns an `Array` of {TimezoneTransition} instances representing the
@@ -4801,7 +4819,7 @@ class TZInfo::Timezone
4801
4819
  # `to` and, if specified, at or later than `from`. Transitions are ordered
4802
4820
  # by when they occur, from earliest to latest.
4803
4821
  #
4804
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:370
4822
+ # source://tzinfo//lib/tzinfo/timezone.rb#370
4805
4823
  def transitions_up_to(to, from = T.unsafe(nil)); end
4806
4824
 
4807
4825
  # Returns the observed offset from UTC in seconds at the given time. This
@@ -4814,7 +4832,7 @@ class TZInfo::Timezone
4814
4832
  # @return [Integer] the observed offset from UTC in seconds at the given
4815
4833
  # time.
4816
4834
  #
4817
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1094
4835
+ # source://tzinfo//lib/tzinfo/timezone.rb#1094
4818
4836
  def utc_offset(time = T.unsafe(nil)); end
4819
4837
 
4820
4838
  # Converts a time in UTC to the local time for the time zone.
@@ -4834,7 +4852,7 @@ class TZInfo::Timezone
4834
4852
  # @return [Object] the local equivalent of `utc_time` as a {TimeWithOffset},
4835
4853
  # {DateTimeWithOffset} or {TimestampWithOffset}.
4836
4854
  #
4837
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:572
4855
+ # source://tzinfo//lib/tzinfo/timezone.rb#572
4838
4856
  def utc_to_local(utc_time); end
4839
4857
 
4840
4858
  private
@@ -4843,7 +4861,7 @@ class TZInfo::Timezone
4843
4861
  #
4844
4862
  # @raise [UnknownTimezone] always.
4845
4863
  #
4846
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1156
4864
+ # source://tzinfo//lib/tzinfo/timezone.rb#1156
4847
4865
  def raise_unknown_timezone; end
4848
4866
 
4849
4867
  class << self
@@ -4854,7 +4872,7 @@ class TZInfo::Timezone
4854
4872
  # @param data [String] a serialized representation of a {Timezone}.
4855
4873
  # @return [Timezone] the result of converting `data` back into a {Timezone}.
4856
4874
  #
4857
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:1147
4875
+ # source://tzinfo//lib/tzinfo/timezone.rb#1147
4858
4876
  def _load(data); end
4859
4877
 
4860
4878
  # Returns an `Array` of all the available time zones.
@@ -4864,7 +4882,7 @@ class TZInfo::Timezone
4864
4882
  #
4865
4883
  # @return [Array<Timezone>] all available time zones.
4866
4884
  #
4867
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:151
4885
+ # source://tzinfo//lib/tzinfo/timezone.rb#151
4868
4886
  def all; end
4869
4887
 
4870
4888
  # Returns an `Array` of the identifiers of all the time zones that are
@@ -4878,7 +4896,7 @@ class TZInfo::Timezone
4878
4896
  #
4879
4897
  # @return [Array<String>] an `Array` of the identifiers of all the time
4880
4898
  #
4881
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:219
4899
+ # source://tzinfo//lib/tzinfo/timezone.rb#219
4882
4900
  def all_country_zone_identifiers; end
4883
4901
 
4884
4902
  # Returns an `Array` of all the time zones that are observed by at least
@@ -4891,14 +4909,14 @@ class TZInfo::Timezone
4891
4909
  # @return [Array<Timezone>] an `Array` of all the time zones that are
4892
4910
  # observed by at least one {Country}.
4893
4911
  #
4894
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:206
4912
+ # source://tzinfo//lib/tzinfo/timezone.rb#206
4895
4913
  def all_country_zones; end
4896
4914
 
4897
4915
  # time zones that are defined by offsets and transitions.
4898
4916
  #
4899
4917
  # @return [Array<String>] an `Array` of the identifiers of all available
4900
4918
  #
4901
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:175
4919
+ # source://tzinfo//lib/tzinfo/timezone.rb#175
4902
4920
  def all_data_zone_identifiers; end
4903
4921
 
4904
4922
  # Returns an `Array` of all the available time zones that are
@@ -4910,20 +4928,20 @@ class TZInfo::Timezone
4910
4928
  # @return [Array<Timezone>] an `Array` of all the available time zones
4911
4929
  # that are defined by offsets and transitions.
4912
4930
  #
4913
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:169
4931
+ # source://tzinfo//lib/tzinfo/timezone.rb#169
4914
4932
  def all_data_zones; end
4915
4933
 
4916
4934
  # @return [Array<String>] an `Array` containing the identifiers of all the
4917
4935
  # available time zones.
4918
4936
  #
4919
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:157
4937
+ # source://tzinfo//lib/tzinfo/timezone.rb#157
4920
4938
  def all_identifiers; end
4921
4939
 
4922
4940
  # time zones that are defined as links to / aliases for other time zones.
4923
4941
  #
4924
4942
  # @return [Array<String>] an `Array` of the identifiers of all available
4925
4943
  #
4926
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:193
4944
+ # source://tzinfo//lib/tzinfo/timezone.rb#193
4927
4945
  def all_linked_zone_identifiers; end
4928
4946
 
4929
4947
  # Returns an `Array` of all the available time zones that are
@@ -4935,7 +4953,7 @@ class TZInfo::Timezone
4935
4953
  # @return [Array<Timezone>] an `Array` of all the available time zones
4936
4954
  # that are defined as links to / aliases for other time zones.
4937
4955
  #
4938
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:187
4956
+ # source://tzinfo//lib/tzinfo/timezone.rb#187
4939
4957
  def all_linked_zones; end
4940
4958
 
4941
4959
  # Returns the default value of the optional `dst` parameter of the
@@ -4949,7 +4967,7 @@ class TZInfo::Timezone
4949
4967
  # {local_to_utc} and {period_for_local} methods (`nil`, `true` or
4950
4968
  # `false`).
4951
4969
  #
4952
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:110
4970
+ # source://tzinfo//lib/tzinfo/timezone.rb#110
4953
4971
  def default_dst; end
4954
4972
 
4955
4973
  # Sets the default value of the optional `dst` parameter of the
@@ -4958,7 +4976,7 @@ class TZInfo::Timezone
4958
4976
  #
4959
4977
  # @param value [Boolean] `nil`, `true` or `false`.
4960
4978
  #
4961
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:96
4979
+ # source://tzinfo//lib/tzinfo/timezone.rb#96
4962
4980
  def default_dst=(value); end
4963
4981
 
4964
4982
  # Returns a time zone by its IANA Time Zone Database identifier (e.g.
@@ -4975,7 +4993,7 @@ class TZInfo::Timezone
4975
4993
  # @raise [InvalidTimezoneIdentifier] if the `identifier` is not valid.
4976
4994
  # @return [Timezone] the {Timezone} with the given `identifier`.
4977
4995
  #
4978
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:127
4996
+ # source://tzinfo//lib/tzinfo/timezone.rb#127
4979
4997
  def get(identifier); end
4980
4998
 
4981
4999
  # Returns a proxy for the time zone with the given identifier. This allows
@@ -4989,14 +5007,14 @@ class TZInfo::Timezone
4989
5007
  # @return [TimezoneProxy] a proxy for the time zone with the given
4990
5008
  # `identifier`.
4991
5009
  #
4992
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:141
5010
+ # source://tzinfo//lib/tzinfo/timezone.rb#141
4993
5011
  def get_proxy(identifier); end
4994
5012
 
4995
5013
  private
4996
5014
 
4997
5015
  # @return [DataSource] the current DataSource.
4998
5016
  #
4999
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:234
5017
+ # source://tzinfo//lib/tzinfo/timezone.rb#234
5000
5018
  def data_source; end
5001
5019
 
5002
5020
  # @param identifiers [Enumerable<String>] an `Enumerable` of time zone
@@ -5004,7 +5022,7 @@ class TZInfo::Timezone
5004
5022
  # @return [Array<TimezoneProxy>] an `Array` of {TimezoneProxy}
5005
5023
  # instances corresponding to the given identifiers.
5006
5024
  #
5007
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:229
5025
+ # source://tzinfo//lib/tzinfo/timezone.rb#229
5008
5026
  def get_proxies(identifiers); end
5009
5027
  end
5010
5028
  end
@@ -5013,19 +5031,19 @@ end
5013
5031
  #
5014
5032
  # @private
5015
5033
  #
5016
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_definition.rb:37
5034
+ # source://tzinfo//lib/tzinfo/format1/timezone_definition.rb#37
5017
5035
  TZInfo::TimezoneDefinition = TZInfo::Format1::TimezoneDefinition
5018
5036
 
5019
5037
  # Alias used by TZInfo::Data format 1 releases.
5020
5038
  #
5021
5039
  # @private
5022
5040
  #
5023
- # source://tzinfo-2.0.5/lib/tzinfo/format1/timezone_index_definition.rb:75
5041
+ # source://tzinfo//lib/tzinfo/format1/timezone_index_definition.rb#75
5024
5042
  TZInfo::TimezoneIndexDefinition = TZInfo::Format1::TimezoneIndexDefinition
5025
5043
 
5026
5044
  # Represents an offset from UTC observed by a time zone.
5027
5045
  #
5028
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_offset.rb:6
5046
+ # source://tzinfo//lib/tzinfo/timezone_offset.rb#6
5029
5047
  class TZInfo::TimezoneOffset
5030
5048
  # Initializes a new {TimezoneOffset}.
5031
5049
  #
@@ -5038,7 +5056,7 @@ class TZInfo::TimezoneOffset
5038
5056
  # @param abbreviation [String] the abbreviation identifying the offset.
5039
5057
  # @return [TimezoneOffset] a new instance of TimezoneOffset
5040
5058
  #
5041
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_offset.rb:62
5059
+ # source://tzinfo//lib/tzinfo/timezone_offset.rb#62
5042
5060
  def initialize(base_utc_offset, std_offset, abbreviation); end
5043
5061
 
5044
5062
  # Determines if this {TimezoneOffset} is equal to another instance.
@@ -5048,7 +5066,7 @@ class TZInfo::TimezoneOffset
5048
5066
  # {utc_offset}, {std_offset} and {abbreviation} as this {TimezoneOffset},
5049
5067
  # otherwise `false`.
5050
5068
  #
5051
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_offset.rb:84
5069
+ # source://tzinfo//lib/tzinfo/timezone_offset.rb#84
5052
5070
  def ==(toi); end
5053
5071
 
5054
5072
  # The abbreviation that identifies this offset. For example GMT
@@ -5056,7 +5074,7 @@ class TZInfo::TimezoneOffset
5056
5074
  #
5057
5075
  # @return [String] the abbreviation that identifies this offset.
5058
5076
  #
5059
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_offset.rb:50
5077
+ # source://tzinfo//lib/tzinfo/timezone_offset.rb#50
5060
5078
  def abbr; end
5061
5079
 
5062
5080
  # The abbreviation that identifies this offset. For example GMT
@@ -5064,7 +5082,7 @@ class TZInfo::TimezoneOffset
5064
5082
  #
5065
5083
  # @return [String] the abbreviation that identifies this offset.
5066
5084
  #
5067
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_offset.rb:50
5085
+ # source://tzinfo//lib/tzinfo/timezone_offset.rb#50
5068
5086
  def abbreviation; end
5069
5087
 
5070
5088
  # Returns the base offset from UTC in seconds (`observed_utc_offset -
@@ -5082,7 +5100,7 @@ class TZInfo::TimezoneOffset
5082
5100
  #
5083
5101
  # @return [Integer] the base offset from UTC in seconds.
5084
5102
  #
5085
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_offset.rb:21
5103
+ # source://tzinfo//lib/tzinfo/timezone_offset.rb#21
5086
5104
  def base_utc_offset; end
5087
5105
 
5088
5106
  # Determines if daylight savings is in effect (i.e. if {std_offset} is
@@ -5090,7 +5108,7 @@ class TZInfo::TimezoneOffset
5090
5108
  #
5091
5109
  # @return [Boolean] `true` if {std_offset} is non-zero, otherwise `false`.
5092
5110
  #
5093
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_offset.rb:74
5111
+ # source://tzinfo//lib/tzinfo/timezone_offset.rb#74
5094
5112
  def dst?; end
5095
5113
 
5096
5114
  # Determines if this {TimezoneOffset} is equal to another instance.
@@ -5100,19 +5118,19 @@ class TZInfo::TimezoneOffset
5100
5118
  # {utc_offset}, {std_offset} and {abbreviation} as this {TimezoneOffset},
5101
5119
  # otherwise `false`.
5102
5120
  #
5103
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_offset.rb:95
5121
+ # source://tzinfo//lib/tzinfo/timezone_offset.rb#95
5104
5122
  def eql?(toi); end
5105
5123
 
5106
5124
  # @return [Integer] a hash based on {utc_offset}, {std_offset} and
5107
5125
  # {abbreviation}.
5108
5126
  #
5109
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_offset.rb:101
5127
+ # source://tzinfo//lib/tzinfo/timezone_offset.rb#101
5110
5128
  def hash; end
5111
5129
 
5112
5130
  # @return [String] the internal object state as a programmer-readable
5113
5131
  # `String`.
5114
5132
  #
5115
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_offset.rb:107
5133
+ # source://tzinfo//lib/tzinfo/timezone_offset.rb#107
5116
5134
  def inspect; end
5117
5135
 
5118
5136
  # Returns the observed offset from UTC in seconds (`base_utc_offset +
@@ -5120,7 +5138,7 @@ class TZInfo::TimezoneOffset
5120
5138
  #
5121
5139
  # @return [Integer] the observed offset from UTC in seconds.
5122
5140
  #
5123
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_offset.rb:43
5141
+ # source://tzinfo//lib/tzinfo/timezone_offset.rb#43
5124
5142
  def observed_utc_offset; end
5125
5143
 
5126
5144
  # Returns the offset from the time zone's standard time in seconds
@@ -5137,7 +5155,7 @@ class TZInfo::TimezoneOffset
5137
5155
  # @return [Integer] the offset from the time zone's standard time in
5138
5156
  # seconds.
5139
5157
  #
5140
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_offset.rb:37
5158
+ # source://tzinfo//lib/tzinfo/timezone_offset.rb#37
5141
5159
  def std_offset; end
5142
5160
 
5143
5161
  # Returns the base offset from UTC in seconds (`observed_utc_offset -
@@ -5155,7 +5173,7 @@ class TZInfo::TimezoneOffset
5155
5173
  #
5156
5174
  # @return [Integer] the base offset from UTC in seconds.
5157
5175
  #
5158
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_offset.rb:21
5176
+ # source://tzinfo//lib/tzinfo/timezone_offset.rb#21
5159
5177
  def utc_offset; end
5160
5178
 
5161
5179
  # Returns the observed offset from UTC in seconds (`base_utc_offset +
@@ -5163,7 +5181,7 @@ class TZInfo::TimezoneOffset
5163
5181
  #
5164
5182
  # @return [Integer] the observed offset from UTC in seconds.
5165
5183
  #
5166
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_offset.rb:43
5184
+ # source://tzinfo//lib/tzinfo/timezone_offset.rb#43
5167
5185
  def utc_total_offset; end
5168
5186
  end
5169
5187
 
@@ -5177,7 +5195,7 @@ end
5177
5195
  # @abstract Time zone period data will returned as an instance of one of the
5178
5196
  # subclasses of {TimezonePeriod}.
5179
5197
  #
5180
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:14
5198
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#14
5181
5199
  class TZInfo::TimezonePeriod
5182
5200
  # Initializes a {TimezonePeriod}.
5183
5201
  #
@@ -5186,7 +5204,7 @@ class TZInfo::TimezonePeriod
5186
5204
  # @raise [ArgumentError] if `offset` is `nil`.
5187
5205
  # @return [TimezonePeriod] a new instance of TimezonePeriod
5188
5206
  #
5189
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:23
5207
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#23
5190
5208
  def initialize(offset); end
5191
5209
 
5192
5210
  # The abbreviation that identifies this offset. For example GMT
@@ -5194,7 +5212,7 @@ class TZInfo::TimezonePeriod
5194
5212
  #
5195
5213
  # @return [String] the abbreviation that identifies this offset.
5196
5214
  #
5197
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:80
5215
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#80
5198
5216
  def abbr; end
5199
5217
 
5200
5218
  # The abbreviation that identifies this offset. For example GMT
@@ -5202,7 +5220,7 @@ class TZInfo::TimezonePeriod
5202
5220
  #
5203
5221
  # @return [String] the abbreviation that identifies this offset.
5204
5222
  #
5205
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:80
5223
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#80
5206
5224
  def abbreviation; end
5207
5225
 
5208
5226
  # Returns the base offset from UTC in seconds (`observed_utc_offset -
@@ -5220,7 +5238,7 @@ class TZInfo::TimezonePeriod
5220
5238
  #
5221
5239
  # @return [Integer] the base offset from UTC in seconds.
5222
5240
  #
5223
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:54
5241
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#54
5224
5242
  def base_utc_offset; end
5225
5243
 
5226
5244
  # Determines if daylight savings is in effect (i.e. if {std_offset} is
@@ -5228,13 +5246,13 @@ class TZInfo::TimezonePeriod
5228
5246
  #
5229
5247
  # @return [Boolean] `true` if {std_offset} is non-zero, otherwise `false`.
5230
5248
  #
5231
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:99
5249
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#99
5232
5250
  def dst?; end
5233
5251
 
5234
5252
  # @return [TimezoneTransition] the transition that defines the end of this
5235
5253
  # {TimezonePeriod} (`nil` if the end is unbounded).
5236
5254
  #
5237
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:36
5255
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#36
5238
5256
  def end_transition; end
5239
5257
 
5240
5258
  # Returns the UTC end time of the period or `nil` if the end of the period
@@ -5247,7 +5265,7 @@ class TZInfo::TimezonePeriod
5247
5265
  # @return [Timestamp] the UTC end time of the period or `nil` if the end of
5248
5266
  # the period is unbounded.
5249
5267
  #
5250
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:125
5268
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#125
5251
5269
  def ends_at; end
5252
5270
 
5253
5271
  # Returns the local end time of the period or `nil` if the end of the period
@@ -5260,7 +5278,7 @@ class TZInfo::TimezonePeriod
5260
5278
  # @return [TimestampWithOffset] the local end time of the period or `nil` if
5261
5279
  # the end of the period is unbounded.
5262
5280
  #
5263
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:151
5281
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#151
5264
5282
  def local_ends_at; end
5265
5283
 
5266
5284
  # Returns the local start time of the period or `nil` if the start of the
@@ -5273,7 +5291,7 @@ class TZInfo::TimezonePeriod
5273
5291
  # @return [TimestampWithOffset] the local start time of the period or `nil`
5274
5292
  # if the start of the period is unbounded.
5275
5293
  #
5276
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:138
5294
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#138
5277
5295
  def local_starts_at; end
5278
5296
 
5279
5297
  # Returns the observed offset from UTC in seconds (`base_utc_offset +
@@ -5281,18 +5299,18 @@ class TZInfo::TimezonePeriod
5281
5299
  #
5282
5300
  # @return [Integer] the observed offset from UTC in seconds.
5283
5301
  #
5284
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:90
5302
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#90
5285
5303
  def observed_utc_offset; end
5286
5304
 
5287
5305
  # @return [TimezoneOffset] the offset that applies in the period of time.
5288
5306
  #
5289
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:16
5307
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#16
5290
5308
  def offset; end
5291
5309
 
5292
5310
  # @return [TimezoneTransition] the transition that defines the start of this
5293
5311
  # {TimezonePeriod} (`nil` if the start is unbounded).
5294
5312
  #
5295
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:30
5313
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#30
5296
5314
  def start_transition; end
5297
5315
 
5298
5316
  # Returns the UTC start time of the period or `nil` if the start of the
@@ -5305,7 +5323,7 @@ class TZInfo::TimezonePeriod
5305
5323
  # @return [Timestamp] the UTC start time of the period or `nil` if the start
5306
5324
  # of the period is unbounded.
5307
5325
  #
5308
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:112
5326
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#112
5309
5327
  def starts_at; end
5310
5328
 
5311
5329
  # Returns the offset from the time zone's standard time in seconds
@@ -5322,7 +5340,7 @@ class TZInfo::TimezonePeriod
5322
5340
  # @return [Integer] the offset from the time zone's standard time in
5323
5341
  # seconds.
5324
5342
  #
5325
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:72
5343
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#72
5326
5344
  def std_offset; end
5327
5345
 
5328
5346
  # Returns the base offset from UTC in seconds (`observed_utc_offset -
@@ -5340,7 +5358,7 @@ class TZInfo::TimezonePeriod
5340
5358
  #
5341
5359
  # @return [Integer] the base offset from UTC in seconds.
5342
5360
  #
5343
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:54
5361
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#54
5344
5362
  def utc_offset; end
5345
5363
 
5346
5364
  # Returns the observed offset from UTC in seconds (`base_utc_offset +
@@ -5348,7 +5366,7 @@ class TZInfo::TimezonePeriod
5348
5366
  #
5349
5367
  # @return [Integer] the observed offset from UTC in seconds.
5350
5368
  #
5351
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:90
5369
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#90
5352
5370
  def utc_total_offset; end
5353
5371
 
5354
5372
  # The abbreviation that identifies this offset. For example GMT
@@ -5356,7 +5374,7 @@ class TZInfo::TimezonePeriod
5356
5374
  #
5357
5375
  # @return [String] the abbreviation that identifies this offset.
5358
5376
  #
5359
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:80
5377
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#80
5360
5378
  def zone_identifier; end
5361
5379
 
5362
5380
  private
@@ -5366,21 +5384,21 @@ class TZInfo::TimezonePeriod
5366
5384
  #
5367
5385
  # @raise [NotImplementedError] always.
5368
5386
  #
5369
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:161
5387
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#161
5370
5388
  def raise_not_implemented(method_name); end
5371
5389
 
5372
5390
  # @param transition [TimezoneTransition] a transition or `nil`.
5373
5391
  # @return [Timestamp] the {Timestamp} representing when a transition occurs,
5374
5392
  # or `nil` if `transition` is `nil`.
5375
5393
  #
5376
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:168
5394
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#168
5377
5395
  def timestamp(transition); end
5378
5396
 
5379
5397
  # @param transition [TimezoneTransition] a transition or `nil`.
5380
5398
  # @return [TimestampWithOffset] a {Timestamp} representing when a transition
5381
5399
  # occurs with offset set to {#offset}, or `nil` if `transition` is `nil`.
5382
5400
  #
5383
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_period.rb:175
5401
+ # source://tzinfo//lib/tzinfo/timezone_period.rb#175
5384
5402
  def timestamp_with_offset(transition); end
5385
5403
  end
5386
5404
 
@@ -5395,7 +5413,7 @@ end
5395
5413
  # real {Timezone} will be loaded is loaded. If the proxy's identifier was not
5396
5414
  # valid, then an exception will be raised at this point.
5397
5415
  #
5398
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_proxy.rb:22
5416
+ # source://tzinfo//lib/tzinfo/timezone_proxy.rb#15
5399
5417
  class TZInfo::TimezoneProxy < ::TZInfo::Timezone
5400
5418
  # Initializes a new {TimezoneProxy}.
5401
5419
  #
@@ -5406,7 +5424,7 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone
5406
5424
  # identifier.
5407
5425
  # @return [TimezoneProxy] a new instance of TimezoneProxy
5408
5426
  #
5409
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_proxy.rb:23
5427
+ # source://tzinfo//lib/tzinfo/timezone_proxy.rb#23
5410
5428
  def initialize(identifier); end
5411
5429
 
5412
5430
  # Returns a serialized representation of this {TimezoneProxy}. This method
@@ -5416,7 +5434,7 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone
5416
5434
  # [String] a serialized representation of this {TimezoneProxy}.
5417
5435
  # @return [String] a serialized representation of this {TimezoneProxy}.
5418
5436
  #
5419
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_proxy.rb:60
5437
+ # source://tzinfo//lib/tzinfo/timezone_proxy.rb#60
5420
5438
  def _dump(limit); end
5421
5439
 
5422
5440
  # Returns the canonical {Timezone} instance for this {Timezone}.
@@ -5458,13 +5476,13 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone
5458
5476
  #
5459
5477
  # @return [Timezone] the canonical {Timezone} instance for this {Timezone}.
5460
5478
  #
5461
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_proxy.rb:50
5479
+ # source://tzinfo//lib/tzinfo/timezone_proxy.rb#50
5462
5480
  def canonical_zone; end
5463
5481
 
5464
5482
  # @return [String] the identifier of the time zone, for example,
5465
5483
  # `"Europe/Paris"`.
5466
5484
  #
5467
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_proxy.rb:30
5485
+ # source://tzinfo//lib/tzinfo/timezone_proxy.rb#30
5468
5486
  def identifier; end
5469
5487
 
5470
5488
  # Returns the {TimezonePeriod} that is valid at a given time.
@@ -5478,7 +5496,7 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone
5478
5496
  # offset.
5479
5497
  # @return [TimezonePeriod] the {TimezonePeriod} that is valid at `time`.
5480
5498
  #
5481
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_proxy.rb:35
5499
+ # source://tzinfo//lib/tzinfo/timezone_proxy.rb#35
5482
5500
  def period_for(time); end
5483
5501
 
5484
5502
  # Returns the set of {TimezonePeriod}s that are valid for the given
@@ -5501,7 +5519,7 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone
5501
5519
  # @return [Array<TimezonePeriod>] the set of {TimezonePeriod}s that are
5502
5520
  # valid at `local_time`.
5503
5521
  #
5504
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_proxy.rb:40
5522
+ # source://tzinfo//lib/tzinfo/timezone_proxy.rb#40
5505
5523
  def periods_for_local(local_time); end
5506
5524
 
5507
5525
  # Returns an `Array` of {TimezoneTransition} instances representing the
@@ -5529,7 +5547,7 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone
5529
5547
  # `to` and, if specified, at or later than `from`. Transitions are ordered
5530
5548
  # by when they occur, from earliest to latest.
5531
5549
  #
5532
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_proxy.rb:45
5550
+ # source://tzinfo//lib/tzinfo/timezone_proxy.rb#45
5533
5551
  def transitions_up_to(to, from = T.unsafe(nil)); end
5534
5552
 
5535
5553
  private
@@ -5540,7 +5558,7 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone
5540
5558
  #
5541
5559
  # @return [Timezone] the real {Timezone} instance being proxied.
5542
5560
  #
5543
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_proxy.rb:82
5561
+ # source://tzinfo//lib/tzinfo/timezone_proxy.rb#82
5544
5562
  def real_timezone; end
5545
5563
 
5546
5564
  class << self
@@ -5552,7 +5570,7 @@ class TZInfo::TimezoneProxy < ::TZInfo::Timezone
5552
5570
  # @return [TimezoneProxy] the result of converting `data` back into a
5553
5571
  # {TimezoneProxy}.
5554
5572
  #
5555
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_proxy.rb:71
5573
+ # source://tzinfo//lib/tzinfo/timezone_proxy.rb#71
5556
5574
  def _load(data); end
5557
5575
  end
5558
5576
  end
@@ -5560,7 +5578,7 @@ end
5560
5578
  # Represents a transition from one observed UTC offset ({TimezoneOffset} to
5561
5579
  # another for a time zone.
5562
5580
  #
5563
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_transition.rb:7
5581
+ # source://tzinfo//lib/tzinfo/timezone_transition.rb#7
5564
5582
  class TZInfo::TimezoneTransition
5565
5583
  # Initializes a new {TimezoneTransition}.
5566
5584
  #
@@ -5575,7 +5593,7 @@ class TZInfo::TimezoneTransition
5575
5593
  # (i.e. each day is treated as if it were 86,400 seconds long).
5576
5594
  # @return [TimezoneTransition] a new instance of TimezoneTransition
5577
5595
  #
5578
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_transition.rb:34
5596
+ # source://tzinfo//lib/tzinfo/timezone_transition.rb#34
5579
5597
  def initialize(offset, previous_offset, timestamp_value); end
5580
5598
 
5581
5599
  # Determines if this {TimezoneTransition} is equal to another instance.
@@ -5585,7 +5603,7 @@ class TZInfo::TimezoneTransition
5585
5603
  # {offset}, {previous_offset} and {timestamp_value} as this
5586
5604
  # {TimezoneTransition}, otherwise `false`.
5587
5605
  #
5588
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_transition.rb:86
5606
+ # source://tzinfo//lib/tzinfo/timezone_transition.rb#86
5589
5607
  def ==(tti); end
5590
5608
 
5591
5609
  # Returns a {Timestamp} instance representing the UTC time when this
@@ -5597,7 +5615,7 @@ class TZInfo::TimezoneTransition
5597
5615
  #
5598
5616
  # @return [Timestamp] the UTC time when this transition occurs.
5599
5617
  #
5600
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_transition.rb:48
5618
+ # source://tzinfo//lib/tzinfo/timezone_transition.rb#48
5601
5619
  def at; end
5602
5620
 
5603
5621
  # Determines if this {TimezoneTransition} is equal to another instance.
@@ -5607,13 +5625,13 @@ class TZInfo::TimezoneTransition
5607
5625
  # {offset}, {previous_offset} and {timestamp_value} as this
5608
5626
  # {TimezoneTransition}, otherwise `false`.
5609
5627
  #
5610
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_transition.rb:86
5628
+ # source://tzinfo//lib/tzinfo/timezone_transition.rb#86
5611
5629
  def eql?(tti); end
5612
5630
 
5613
5631
  # @return [Integer] a hash based on {offset}, {previous_offset} and
5614
5632
  # {timestamp_value}.
5615
5633
  #
5616
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_transition.rb:94
5634
+ # source://tzinfo//lib/tzinfo/timezone_transition.rb#94
5617
5635
  def hash; end
5618
5636
 
5619
5637
  # Returns a {TimestampWithOffset} instance representing the local time when
@@ -5627,7 +5645,7 @@ class TZInfo::TimezoneTransition
5627
5645
  # @return [TimestampWithOffset] the local time when this transition causes
5628
5646
  # the previous observance to end.
5629
5647
  #
5630
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_transition.rb:62
5648
+ # source://tzinfo//lib/tzinfo/timezone_transition.rb#62
5631
5649
  def local_end_at; end
5632
5650
 
5633
5651
  # Returns a {TimestampWithOffset} instance representing the local time when
@@ -5641,17 +5659,17 @@ class TZInfo::TimezoneTransition
5641
5659
  # @return [TimestampWithOffset] the local time when this transition causes
5642
5660
  # the next observance to start.
5643
5661
  #
5644
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_transition.rb:76
5662
+ # source://tzinfo//lib/tzinfo/timezone_transition.rb#76
5645
5663
  def local_start_at; end
5646
5664
 
5647
5665
  # @return [TimezoneOffset] the offset this transition changes to.
5648
5666
  #
5649
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_transition.rb:9
5667
+ # source://tzinfo//lib/tzinfo/timezone_transition.rb#9
5650
5668
  def offset; end
5651
5669
 
5652
5670
  # @return [TimezoneOffset] the offset this transition changes from.
5653
5671
  #
5654
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_transition.rb:12
5672
+ # source://tzinfo//lib/tzinfo/timezone_transition.rb#12
5655
5673
  def previous_offset; end
5656
5674
 
5657
5675
  # When this transition occurs as an `Integer` number of seconds since
@@ -5662,7 +5680,7 @@ class TZInfo::TimezoneTransition
5662
5680
  # @return [Integer] when this transition occurs as a number of seconds since
5663
5681
  # 1970-01-01 00:00:00 UTC ignoring leap seconds.
5664
5682
  #
5665
- # source://tzinfo-2.0.5/lib/tzinfo/timezone_transition.rb:21
5683
+ # source://tzinfo//lib/tzinfo/timezone_transition.rb#21
5666
5684
  def timestamp_value; end
5667
5685
  end
5668
5686
 
@@ -5672,7 +5690,7 @@ end
5672
5690
  # @abstract
5673
5691
  # @private
5674
5692
  #
5675
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:10
5693
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#10
5676
5694
  class TZInfo::TransitionRule
5677
5695
  # Initializes a new {TransitionRule}.
5678
5696
  #
@@ -5681,7 +5699,7 @@ class TZInfo::TransitionRule
5681
5699
  # @raise [ArgumentError] if `transition_at` is not an `Integer`.
5682
5700
  # @return [TransitionRule] a new instance of TransitionRule
5683
5701
  #
5684
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:25
5702
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#25
5685
5703
  def initialize(transition_at); end
5686
5704
 
5687
5705
  # Determines if this {TransitionRule} is equal to another instance.
@@ -5690,7 +5708,7 @@ class TZInfo::TransitionRule
5690
5708
  # @return [Boolean] `true` if `r` is a {TransitionRule} with the same
5691
5709
  # {transition_at} as this {TransitionRule}, otherwise `false`.
5692
5710
  #
5693
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:47
5711
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#47
5694
5712
  def ==(r); end
5695
5713
 
5696
5714
  # Calculates the time of the transition from a given offset on a given year.
@@ -5701,7 +5719,7 @@ class TZInfo::TransitionRule
5701
5719
  # time).
5702
5720
  # @return [TimestampWithOffset] the time at which the transition occurs.
5703
5721
  #
5704
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:37
5722
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#37
5705
5723
  def at(offset, year); end
5706
5724
 
5707
5725
  # Determines if this {TransitionRule} is equal to another instance.
@@ -5710,13 +5728,13 @@ class TZInfo::TransitionRule
5710
5728
  # @return [Boolean] `true` if `r` is a {TransitionRule} with the same
5711
5729
  # {transition_at} as this {TransitionRule}, otherwise `false`.
5712
5730
  #
5713
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:47
5731
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#47
5714
5732
  def eql?(r); end
5715
5733
 
5716
5734
  # @return [Integer] a hash based on {hash_args} (defaulting to
5717
5735
  # {transition_at}).
5718
5736
  #
5719
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:54
5737
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#54
5720
5738
  def hash; end
5721
5739
 
5722
5740
  # Returns the number of seconds after midnight local time on the day
@@ -5727,7 +5745,7 @@ class TZInfo::TransitionRule
5727
5745
  # @return [Integer] the time in seconds after midnight local time at which
5728
5746
  # the transition occurs.
5729
5747
  #
5730
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:18
5748
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#18
5731
5749
  def transition_at; end
5732
5750
 
5733
5751
  protected
@@ -5735,7 +5753,7 @@ class TZInfo::TransitionRule
5735
5753
  # @return [Array] an `Array` of parameters that will influence the output of
5736
5754
  # {hash}.
5737
5755
  #
5738
- # source://tzinfo-2.0.5/lib/tzinfo/transition_rule.rb:62
5756
+ # source://tzinfo//lib/tzinfo/transition_rule.rb#62
5739
5757
  def hash_args; end
5740
5758
  end
5741
5759
 
@@ -5743,7 +5761,7 @@ end
5743
5761
  # applies. The period of time is bounded at at least one end, either having a
5744
5762
  # start transition, end transition or both start and end transitions.
5745
5763
  #
5746
- # source://tzinfo-2.0.5/lib/tzinfo/transitions_timezone_period.rb:10
5764
+ # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#8
5747
5765
  class TZInfo::TransitionsTimezonePeriod < ::TZInfo::TimezonePeriod
5748
5766
  # Initializes a {TransitionsTimezonePeriod}.
5749
5767
  #
@@ -5757,7 +5775,7 @@ class TZInfo::TransitionsTimezonePeriod < ::TZInfo::TimezonePeriod
5757
5775
  # `nil`.
5758
5776
  # @return [TransitionsTimezonePeriod] a new instance of TransitionsTimezonePeriod
5759
5777
  #
5760
- # source://tzinfo-2.0.5/lib/tzinfo/transitions_timezone_period.rb:27
5778
+ # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#27
5761
5779
  def initialize(start_transition, end_transition); end
5762
5780
 
5763
5781
  # Determines if this {TransitionsTimezonePeriod} is equal to another
@@ -5768,13 +5786,13 @@ class TZInfo::TransitionsTimezonePeriod < ::TZInfo::TimezonePeriod
5768
5786
  # same {offset}, {start_transition} and {end_transition}, otherwise
5769
5787
  # `false`.
5770
5788
  #
5771
- # source://tzinfo-2.0.5/lib/tzinfo/transitions_timezone_period.rb:47
5789
+ # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#47
5772
5790
  def ==(p); end
5773
5791
 
5774
5792
  # @return [TimezoneTransition] the transition that defines the end of this
5775
5793
  # {TimezonePeriod} (`nil` if the end is unbounded).
5776
5794
  #
5777
- # source://tzinfo-2.0.5/lib/tzinfo/transitions_timezone_period.rb:15
5795
+ # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#15
5778
5796
  def end_transition; end
5779
5797
 
5780
5798
  # Determines if this {TransitionsTimezonePeriod} is equal to another
@@ -5785,24 +5803,24 @@ class TZInfo::TransitionsTimezonePeriod < ::TZInfo::TimezonePeriod
5785
5803
  # same {offset}, {start_transition} and {end_transition}, otherwise
5786
5804
  # `false`.
5787
5805
  #
5788
- # source://tzinfo-2.0.5/lib/tzinfo/transitions_timezone_period.rb:47
5806
+ # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#47
5789
5807
  def eql?(p); end
5790
5808
 
5791
5809
  # @return [Integer] a hash based on {start_transition} and {end_transition}.
5792
5810
  #
5793
- # source://tzinfo-2.0.5/lib/tzinfo/transitions_timezone_period.rb:53
5811
+ # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#53
5794
5812
  def hash; end
5795
5813
 
5796
5814
  # @return [String] the internal object state as a programmer-readable
5797
5815
  # `String`.
5798
5816
  #
5799
- # source://tzinfo-2.0.5/lib/tzinfo/transitions_timezone_period.rb:59
5817
+ # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#59
5800
5818
  def inspect; end
5801
5819
 
5802
5820
  # @return [TimezoneTransition] the transition that defines the start of this
5803
5821
  # {TimezonePeriod} (`nil` if the start is unbounded).
5804
5822
  #
5805
- # source://tzinfo-2.0.5/lib/tzinfo/transitions_timezone_period.rb:11
5823
+ # source://tzinfo//lib/tzinfo/transitions_timezone_period.rb#11
5806
5824
  def start_transition; end
5807
5825
  end
5808
5826
 
@@ -5822,13 +5840,13 @@ end
5822
5840
  #
5823
5841
  # @private
5824
5842
  #
5825
- # source://tzinfo-2.0.5/lib/tzinfo/string_deduper.rb:90
5843
+ # source://tzinfo//lib/tzinfo/string_deduper.rb#90
5826
5844
  class TZInfo::UnaryMinusGlobalStringDeduper
5827
5845
  # @param string [String] the string to deduplicate.
5828
5846
  # @return [bool] `string` if it is frozen, otherwise a frozen, possibly
5829
5847
  # pre-existing copy of `string`.
5830
5848
  #
5831
- # source://tzinfo-2.0.5/lib/tzinfo/string_deduper.rb:94
5849
+ # source://tzinfo//lib/tzinfo/string_deduper.rb#94
5832
5850
  def dedupe(string); end
5833
5851
  end
5834
5852
 
@@ -5836,7 +5854,7 @@ end
5836
5854
  # {Timezone} that was created directly. To obtain {Timezone} instances the
5837
5855
  # {Timezone.get} method should be used instead.
5838
5856
  #
5839
- # source://tzinfo-2.0.5/lib/tzinfo/timezone.rb:32
5857
+ # source://tzinfo//lib/tzinfo/timezone.rb#32
5840
5858
  class TZInfo::UnknownTimezone < ::StandardError; end
5841
5859
 
5842
5860
  # Object#untaint is deprecated in Ruby >= 2.7 and will be removed in 3.2.
@@ -5845,12 +5863,12 @@ class TZInfo::UnknownTimezone < ::StandardError; end
5845
5863
  #
5846
5864
  # @private
5847
5865
  #
5848
- # source://tzinfo-2.0.5/lib/tzinfo/untaint_ext.rb:10
5866
+ # source://tzinfo//lib/tzinfo/untaint_ext.rb#10
5849
5867
  module TZInfo::UntaintExt; end
5850
5868
 
5851
5869
  # The TZInfo version number.
5852
5870
  #
5853
- # source://tzinfo-2.0.5/lib/tzinfo/version.rb:6
5871
+ # source://tzinfo//lib/tzinfo/version.rb#6
5854
5872
  TZInfo::VERSION = T.let(T.unsafe(nil), String)
5855
5873
 
5856
5874
  # The {WithOffset} module is included in {TimeWithOffset},
@@ -5859,7 +5877,7 @@ TZInfo::VERSION = T.let(T.unsafe(nil), String)
5859
5877
  # the {TimezoneOffset#abbreviation abbreviation} of the {TimezoneOffset}
5860
5878
  # associated with a local time.
5861
5879
  #
5862
- # source://tzinfo-2.0.5/lib/tzinfo/with_offset.rb:10
5880
+ # source://tzinfo//lib/tzinfo/with_offset.rb#10
5863
5881
  module TZInfo::WithOffset
5864
5882
  # Overrides the `Time`, `DateTime` or {Timestamp} version of `strftime`,
5865
5883
  # replacing `%Z` with the {TimezoneOffset#abbreviation abbreviation} of the
@@ -5872,7 +5890,7 @@ module TZInfo::WithOffset
5872
5890
  # @raise [ArgumentError] if `format` is `nil`.
5873
5891
  # @return [String] the formatted time.
5874
5892
  #
5875
- # source://tzinfo-2.0.5/lib/tzinfo/with_offset.rb:21
5893
+ # source://tzinfo//lib/tzinfo/with_offset.rb#21
5876
5894
  def strftime(format); end
5877
5895
 
5878
5896
  protected
@@ -5891,6 +5909,6 @@ module TZInfo::WithOffset
5891
5909
  # @yieldreturn [Object] the result of the calculation performed if there is
5892
5910
  # an associated {TimezoneOffset}.
5893
5911
  #
5894
- # source://tzinfo-2.0.5/lib/tzinfo/with_offset.rb:56
5912
+ # source://tzinfo//lib/tzinfo/with_offset.rb#56
5895
5913
  def if_timezone_offset(result = T.unsafe(nil)); end
5896
5914
  end