Holds some constants used by the pure ruby parsing code.
The STYLE constant (a hash) allows the user to modify the parsing of DD/DD/DD and DD.DD.DD dates. For DD/DD/DD dates, you can set the :slash entry to :mdy (month/day/year, :dmy (day/month/year), or :ymd (year/month/day). The same can be done for DD.DD.DD dates using the :dot entry. Example:
Date::Format::STYLE[:slash] = :mdy Date::Format::STYLE[:dot] = :dmy
Hash mapping abbreviated lowercase day names to day numbers (e.g. ABBR_DAYS => 0)
Hash mapping abbreviated lowercase month names to month numbers (e.g. ABBR_MONTHS => 1)
Hash mapping lowercase day names to day numbers (e.g. DAYS => 0)
Hash mapping lowercase month names to month numbers (e.g. MONTHS => 1)
On Ruby 1.8.6 and earlier, DD/DD/DD and DD.DD.DD dates are interpreted by default as month, day, year.
Hash mapping lowercase time zone names to offsets in seconds (e.g. ZONES => -28800)
Generated with the Darkfish Rdoc Generator 2.