Results for: "pstore"

return the JSON value

Deserializes JSON string by converting numerator value n, denominator value d, to a Rational object.

Stores class name (Rational) along with numerator value n and denominator value d as JSON string

Returns true if the given ordinal date is valid, and false if not.

Date.valid_ordinal?(2001,34)      #=> true
Date.valid_ordinal?(2001,366)     #=> false

See also ::jd and ::ordinal.

Duplicates self and resets its day of calendar reform.

d = Date.new(1582,10,15)
d.new_start(Date::JULIAN)         #=> #<Date: 1582-10-05 ...>

This method is equivalent to d - n.

This method is equivalent to d << n.

See Date#<< for examples.

This method is equivalent to d << (n * 12).

Date.new(2001,2,3).prev_year      #=> #<Date: 2000-02-03 ...>
Date.new(2008,2,29).prev_year     #=> #<Date: 2007-02-28 ...>
Date.new(2008,2,29).prev_year(4)  #=> #<Date: 2004-02-29 ...>

See also Date#<<.

Returns a Time object which denotes self.

Returns self.

Returns a DateTime object which denotes self.

No documentation available
No documentation available
No documentation available
No documentation available

Deserializes JSON string by converting Julian year y, month m, day d and Day of Calendar Reform sg to Date.

Stores class name (Date) with Julian year y, month m, day d and Day of Calendar Reform sg as JSON string

Returns a Time object which denotes self.

Returns a Date object which denotes self.

Returns self.

Deserializes JSON string by converting year y, month m, day d, hour H, minute M, second S, offset of and Day of Calendar Reform sg to DateTime.

Stores class name (DateTime) with Julian year y, month m, day d, hour H, minute M, second S, offset of and Day of Calendar Reform sg as JSON string

Returns self.

Returns a Date object which denotes self.

Returns a DateTime object which denotes self.

Search took: 3ms  ·  Total Results: 3468