method
_load
v1_9_3_125 -
Show latest stable
- Class:
Time
_load(p1)public
Unmarshal a dumped Time object.
static VALUE
time_load(VALUE klass, VALUE str)
{
VALUE time = time_s_alloc(klass);
time_mload(time, str);
return time;
} Related methods
- Instance methods
- +
- -
- <=>
- _dump
- as_json
- asctime
- ctime
- day
- dst?
- eql?
- friday?
- getgm
- getlocal
- getutc
- gmt?
- gmt_offset
- gmtime
- gmtoff
- hash
- hour
- httpdate
- initialize_copy
- inspect
- isdst
- iso8601
- localtime
- marshal_dump
- marshal_load
- mday
- min
- mon
- monday?
- month
- nsec
- rake_original_time_compare
- rfc2822
- rfc822
- round
- saturday?
- sec
- strftime
- subsec
- succ
- sunday?
- thursday?
- to_a
- to_date
- to_datetime
- to_f
- to_i
- to_json
- to_r
- to_s
- to_time
- tuesday?
- tv_nsec
- tv_sec
- tv_usec
- usec
- utc
- utc?
- utc_offset
- w3cdtf
- wday
- wednesday?
- xmlschema
- yday
- year
- zone
- Class methods
- _load
- at
- gm
- httpdate
- iso8601
- json_create
- local
- mktime
- new
- now
- parse
- rfc2822
- rfc822
- strptime
- utc
- w3cdtf
- xmlschema
- zone_offset
- Private methods
-
apply_offset -
make_time -
month_days -
zone_utc?