Pass one or two args (from a scalding.
Pass one or two args (from a scalding.Args .list) to parse into a DateRange
We take the upper bound of the second parameter, so we take the latest time that could be construed as matching the string passed, e.
We take the upper bound of the second parameter, so we take the latest time that could be construed as matching the string passed, e.g. ("2011-01-02T04", "2011-01-02T05") includes two full hours (all of 4 and all of 5)
Parse this string into a range.
Parse this string into a range. 2009-10-01 is interpetted as the whole day 2009-10-01T12 is interpetted as the whole hour 2009-10-01T12:00 is interpetted as a single minute 2009-10-01T12:00:02 is interpretted as a single second
This is called parse to avoid a collision with implicit conversions from String to RichDate