File: //usr/local/rvm/gems/default/doc/tzinfo-2.0.4/ri/TZInfo/Timestamp/create-c.ri
U:RDoc::AnyMethod[iI"create:ETI"TZInfo::Timestamp::create;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"NReturns a new {Timestamp} representing the (Gregorian calendar) date and ;TI"/time specified by the supplied parameters.;To:RDoc::Markup::BlankLine o;
; [ I"NIf `utc_offset` is `nil`, `:utc` or 0, the date and time parameters will ;TI"Lbe interpreted as representing a UTC date and time. Otherwise the date ;TI"Kand time parameters will be interpreted as a local date and time with ;TI"the given offset.;T@o;
; [I"%@param year [Integer] the year. ;TI".@param month [Integer] the month (1-12). ;TI"7@param day [Integer] the day of the month (1-31). ;TI",@param hour [Integer] the hour (0-23). ;TI"0@param minute [Integer] the minute (0-59). ;TI"0@param second [Integer] the second (0-59). ;TI"L@param sub_second [Numeric] the fractional part of the second as either;To:RDoc::Markup::Verbatim; [I"Ia `Rational` that is greater than or equal to 0 and less than 1, or
;TI"the `Integer` 0.
;T:@format0o;
; [I"H@param utc_offset [Object] either `nil` for a {Timestamp} without a;To;; [I"Kspecified offset, an offset from UTC specified as an `Integer` number
;TI")of seconds or the `Symbol` `:utc`).
;T;
0o;
; [I"E@return [Timestamp] a new {Timestamp} representing the specified;To;; [I")(Gregorian calendar) date and time.
;T;
0o;
; [I"H@raise [ArgumentError] if either of `year`, `month`, `day`, `hour`,;To;; [I"0`minute`, or `second` is not an `Integer`.
;T;
0o;
; [I"G@raise [ArgumentError] if `sub_second` is not a `Rational`, or the;To;; [I"`Integer` 0.
;T;
0o;
; [I"J@raise [ArgumentError] if `utc_offset` is not `nil`, not an `Integer`;To;; [I""and not the `Symbol` `:utc`.
;T;
0o;
; [I"=@raise [RangeError] if `month` is not between 1 and 12. ;TI";@raise [RangeError] if `day` is not between 1 and 31. ;TI"<@raise [RangeError] if `hour` is not between 0 and 23. ;TI">@raise [RangeError] if `minute` is not between 0 and 59. ;TI">@raise [RangeError] if `second` is not between 0 and 59. ;TI"I@raise [RangeError] if `sub_second` is a `Rational` but that is less;To;; [I"*than 0 or greater than or equal to 1.;T;
0:
@fileI"lib/tzinfo/timestamp.rb;T:0@omit_headings_from_table_of_contents_below000[ I"c(year, month = 1, day = 1, hour = 0, minute = 0, second = 0, sub_second = 0, utc_offset = nil);T@MFI"Timestamp;TcRDoc::NormalClass00