method
jisx0301
v2_6_3 -
Show latest stable
-
0 notes -
Class: DateTime
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378 (0)
- 1_9_2_180 (0)
- 1_9_3_125 (38)
- 1_9_3_392 (0)
- 2_1_10 (-2)
- 2_2_9 (1)
- 2_4_6 (0)
- 2_5_5 (0)
- 2_6_3 (29)
- What's this?
jisx0301(p1 = v1, p2 = v2)
public
Creates a new DateTime object by parsing from a string according to some typical JIS X 0301 formats.
DateTime.jisx0301('H13.02.03T04:05:06+07:00') #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...>
For no-era year, legacy format, Heisei is assumed.
DateTime.jisx0301('13.02.03T04:05:06+07:00') #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...>