File: //usr/local/rvm/gems/ruby-3.0.2/doc/tzinfo-2.0.4/ri/TZInfo/Timezone/offsets_up_to-i.ri
U:RDoc::AnyMethod[iI"offsets_up_to:ETI"#TZInfo::Timezone#offsets_up_to;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"PReturns the unique offsets used by the time zone up to a given time (`to`) ;TI"1as an `Array` of {TimezoneOffset} instances.;To:RDoc::Markup::BlankLine o;
; [I"MA from time may also be supplied using the `from` parameter. If from is ;TI"Jnot `nil`, only offsets used from that time onwards will be returned.;T@o;
; [I"FComparisons with `to` are exclusive. Comparisons with `from` are ;TI"inclusive.;T@o;
; [I"J@param to [Object] a `Time`, `DateTime` or {Timestamp} specifying the;To:RDoc::Markup::Verbatim; [I"*latest (exclusive) offset to return.
;T:@format0o;
; [I"G@param from [Object] an optional `Time`, `DateTime` or {Timestamp};To;; [I";specifying the earliest (inclusive) offset to return.
;T;
0o;
; [I"L@return [Array<TimezoneOffsets>] the offsets that are used earlier than;To;; [I"N`to` and, if specified, at or later than `from`. Offsets may be returned
;TI"in any order.
;T;
0o;
; [I"O@raise [ArgumentError] if `from` is specified and `to` is not greater than;To;; [I"
`from`.
;T;
0o;
; [I"8@raise [ArgumentError] is raised if `to` is `nil`. ;TI"M@raise [ArgumentError] if either `to` or `from` is a {Timestamp} with an;To;; [I"unspecified offset.;T;
0:
@fileI"lib/tzinfo/timezone.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(to, from = nil);T@8FI"
Timezone;TcRDoc::NormalClass00