error[ERROR]
Get or set the error message string.
european[BOOL]
Get or set a boolean value that controls how the parse_date method will interpret "xx/xx/xxxx" dates:
either month/day/year or year/month/day.
If true, then the parse_date method will pass its arguments to Rose::DateTime::Util's
parse_european_date function, which interprets such dates as "dd/mm/yyyy".
If false, then the parse_date method will temporarily force non-European date parsing and then call
Rose::DateTime::Util's parse_date function, which will interpret the date as "mm/dd/yyyy".
This attribute defaults to the value returned by the Rose::DateTime::Util->european_dates class
method called atthetimetheRose::DateTime::Parserobjectisconstructed.
If the BOOL argument is undefined (instead of "false, but defined") then the attribute will return to
its default value by calling the Rose::DateTime::Util->european_dates class method again. To
unambiguously set the attribute to true or false, pass a defined value like 1 or 0.
parse_dateSTRING
Attempt to parse STRING by passing it to Rose::DateTime::Util's parse_date or parse_european_date
function. The choice is controlled by the european attribute.
If parsing is successful, the resulting DateTime object is returned. Otherwise, error is set and
false is returned.
parse_datetimeSTRING
This method is an alias for parse_date()parse_european_dateSTRING
Attempt to parse STRING by passing it to Rose::DateTime::Util's parse_european_date function
(regardless of the value of the european attribute). If parsing is successful, the resulting
DateTime object is returned. Otherwise, error is set and false is returned.
time_zone[STRING]
Get or set the time zone string passed to Rose::DateTime::Util's parse_date function. Defaults to
the value returned by the Rose::DateTime::Util->time_zone class method.