Flowdock
method

jisx0301

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: DateTime
jisx0301(p1 = v1, p2 = v2) public

Creates a new Date object by parsing from a string according to some typical JIS X 0301 formats.

For example:

DateTime.jisx0301('H13.02.03T04:05:06+07:00')
                          #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...>
Show source
Register or log in to add new notes.