method

jisx0301

v2_6_3 - Show latest stable - Class: Date
jisx0301(p1 = v1, p2 = v2)
public

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

Date.jisx0301('H13.02.03')                #=> #<Date: 2001-02-03 ...>

For no-era year, legacy format, Heisei is assumed.

Date.jisx0301('13.02.03')                 #=> #<Date: 2001-02-03 ...>