This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

jisx0301

        # DateTime.jisx0301

(from ruby core)
---
    DateTime.jisx0301(string='-4712-01-01T00:00:00+00:00'[, start=Date::ITALY], limit: 128)  ->  datetime

---

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 ...>

Raise an ArgumentError when the string length is longer than *limit*.
You can stop this check by passing `limit: nil`, but note that it may
take a long time to parse.


(from ruby core)
---
    dt.jisx0301([n=0])  ->  string

---

Returns a string in a JIS X 0301 format. The optional argument `n` is
the number of digits for fractional seconds.

    DateTime.parse('2001-02-03T04:05:06.123456789+07:00').jisx0301(9)
                              #=> "H13.02.03T04:05:06.123456789+07:00"



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.