summaryrefslogtreecommitdiffstats
path: root/cts/cli/regression.dates.exp
diff options
context:
space:
mode:
Diffstat (limited to 'cts/cli/regression.dates.exp')
-rw-r--r--cts/cli/regression.dates.exp362
1 files changed, 362 insertions, 0 deletions
diff --git a/cts/cli/regression.dates.exp b/cts/cli/regression.dates.exp
new file mode 100644
index 0000000..9c42c6d
--- /dev/null
+++ b/cts/cli/regression.dates.exp
@@ -0,0 +1,362 @@
+=#=#=#= Begin test: Invalid period - [] =#=#=#=
+crm_time_parse_period error: No ISO 8601 time period given
+iso8601: Invalid interval specified:
+=#=#=#= End test: Invalid period - [] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - []
+=#=#=#= Begin test: Invalid period - [2019-01-01 00:00:00Z] =#=#=#=
+crm_time_parse_period error: '2019-01-01 00:00:00Z' is not a valid ISO 8601 time period because it has no duration or ending time
+iso8601: Invalid interval specified: 2019-01-01 00:00:00Z
+=#=#=#= End test: Invalid period - [2019-01-01 00:00:00Z] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - [2019-01-01 00:00:00Z]
+=#=#=#= Begin test: Invalid period - [2019-01-01 00:00:00Z/] =#=#=#=
+parse_date error: No ISO 8601 date/time specification given
+iso8601: Invalid interval specified: 2019-01-01 00:00:00Z/
+=#=#=#= End test: Invalid period - [2019-01-01 00:00:00Z/] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - [2019-01-01 00:00:00Z/]
+=#=#=#= Begin test: Invalid period - [PT2S/P1M] =#=#=#=
+crm_time_parse_period error: 'PT2S/P1M' is not a valid ISO 8601 time period because it has two durations
+iso8601: Invalid interval specified: PT2S/P1M
+=#=#=#= End test: Invalid period - [PT2S/P1M] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - [PT2S/P1M]
+=#=#=#= Begin test: Invalid period - [2019-13-01 00:00:00Z/P1M] =#=#=#=
+parse_date error: '2019-13-01 00:00:00Z/P1M' is not a valid ISO 8601 date/time specification because '13' is not a valid month
+iso8601: Invalid interval specified: 2019-13-01 00:00:00Z/P1M
+=#=#=#= End test: Invalid period - [2019-13-01 00:00:00Z/P1M] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - [2019-13-01 00:00:00Z/P1M]
+=#=#=#= Begin test: Invalid period - [20191077T15/P1M] =#=#=#=
+parse_date error: '20191077T15/P1M' is not a valid ISO 8601 date/time specification because '77' is not a valid day of the month
+iso8601: Invalid interval specified: 20191077T15/P1M
+=#=#=#= End test: Invalid period - [20191077T15/P1M] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - [20191077T15/P1M]
+=#=#=#= Begin test: Invalid period - [2019-10-01T25:00:00Z/P1M] =#=#=#=
+crm_time_parse_sec error: 25:00:00Z/P1M is not a valid ISO 8601 time specification because 25 is not a valid hour
+iso8601: Invalid interval specified: 2019-10-01T25:00:00Z/P1M
+=#=#=#= End test: Invalid period - [2019-10-01T25:00:00Z/P1M] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - [2019-10-01T25:00:00Z/P1M]
+=#=#=#= Begin test: Invalid period - [2019-10-01T24:00:01Z/P1M] =#=#=#=
+crm_time_parse_sec error: 24:00:01Z/P1M is not a valid ISO 8601 time specification because 24 is not a valid hour
+iso8601: Invalid interval specified: 2019-10-01T24:00:01Z/P1M
+=#=#=#= End test: Invalid period - [2019-10-01T24:00:01Z/P1M] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - [2019-10-01T24:00:01Z/P1M]
+=#=#=#= Begin test: Invalid period - [PT5H/20191001T007000Z] =#=#=#=
+crm_time_parse_sec error: 007000Z is not a valid ISO 8601 time specification because 70 is not a valid minute
+iso8601: Invalid interval specified: PT5H/20191001T007000Z
+=#=#=#= End test: Invalid period - [PT5H/20191001T007000Z] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - [PT5H/20191001T007000Z]
+=#=#=#= Begin test: Invalid period - [2019-10-01 00:00:80Z/P1M] =#=#=#=
+crm_time_parse_sec error: 00:00:80Z/P1M is not a valid ISO 8601 time specification because 80 is not a valid second
+iso8601: Invalid interval specified: 2019-10-01 00:00:80Z/P1M
+=#=#=#= End test: Invalid period - [2019-10-01 00:00:80Z/P1M] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - [2019-10-01 00:00:80Z/P1M]
+=#=#=#= Begin test: Invalid period - [2019-10-01 00:00:10 +25:00/P1M] =#=#=#=
+crm_time_parse_sec error: 25:00/P1M is not a valid ISO 8601 time specification because 25 is not a valid hour
+iso8601: Invalid interval specified: 2019-10-01 00:00:10 +25:00/P1M
+=#=#=#= End test: Invalid period - [2019-10-01 00:00:10 +25:00/P1M] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - [2019-10-01 00:00:10 +25:00/P1M]
+=#=#=#= Begin test: Invalid period - [20191001T000010 -00:61/P1M] =#=#=#=
+crm_time_parse_sec error: 00:61/P1M is not a valid ISO 8601 time specification because 61 is not a valid minute
+iso8601: Invalid interval specified: 20191001T000010 -00:61/P1M
+=#=#=#= End test: Invalid period - [20191001T000010 -00:61/P1M] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - [20191001T000010 -00:61/P1M]
+=#=#=#= Begin test: Invalid period - [P1Y/2019-02-29 00:00:00Z] =#=#=#=
+parse_date error: '2019-02-29 00:00:00Z' is not a valid ISO 8601 date/time specification because '29' is not a valid day of the month
+iso8601: Invalid interval specified: P1Y/2019-02-29 00:00:00Z
+=#=#=#= End test: Invalid period - [P1Y/2019-02-29 00:00:00Z] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - [P1Y/2019-02-29 00:00:00Z]
+=#=#=#= Begin test: Invalid period - [2019-01-01 00:00:00Z/P] =#=#=#=
+crm_time_parse_duration error: 'P' is not a valid ISO 8601 time duration because nothing follows 'P'
+iso8601: Invalid interval specified: 2019-01-01 00:00:00Z/P
+=#=#=#= End test: Invalid period - [2019-01-01 00:00:00Z/P] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - [2019-01-01 00:00:00Z/P]
+=#=#=#= Begin test: Invalid period - [P1Z/2019-02-20 00:00:00Z] =#=#=#=
+crm_time_parse_duration error: 'P1Z/2019-02-20 00:00:00Z' is not a valid ISO 8601 time duration because 'Z' is not a valid time unit
+iso8601: Invalid interval specified: P1Z/2019-02-20 00:00:00Z
+=#=#=#= End test: Invalid period - [P1Z/2019-02-20 00:00:00Z] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - [P1Z/2019-02-20 00:00:00Z]
+=#=#=#= Begin test: Invalid period - [P1YM/2019-02-20 00:00:00Z] =#=#=#=
+crm_time_parse_duration error: 'P1YM/2019-02-20 00:00:00Z' is not a valid ISO 8601 time duration because no integer at 'M/2019-02-20 00:00:00Z'
+iso8601: Invalid interval specified: P1YM/2019-02-20 00:00:00Z
+=#=#=#= End test: Invalid period - [P1YM/2019-02-20 00:00:00Z] - Invalid parameter (2) =#=#=#=
+* Passed: iso8601 - Invalid period - [P1YM/2019-02-20 00:00:00Z]
+=#=#=#= Begin test: 2014-01-01 00:30:00 - 1 Hour =#=#=#=
+Date: 2014-01-01 00:30:00Z
+Duration: -3600 seconds (1 hour)
+Duration ends at: 2013-12-31 23:30:00Z
+=#=#=#= End test: 2014-01-01 00:30:00 - 1 Hour - OK (0) =#=#=#=
+* Passed: iso8601 - 2014-01-01 00:30:00 - 1 Hour
+=#=#=#= Begin test: Valid date - Feb 29 in leap year =#=#=#=
+Date: 2020-02-29 00:00:00Z
+=#=#=#= End test: Valid date - Feb 29 in leap year - OK (0) =#=#=#=
+* Passed: iso8601 - Valid date - Feb 29 in leap year
+=#=#=#= Begin test: Valid date - using 'T' and offset =#=#=#=
+Date: 2019-12-01 18:12:11Z
+=#=#=#= End test: Valid date - using 'T' and offset - OK (0) =#=#=#=
+* Passed: iso8601 - Valid date - using 'T' and offset
+=#=#=#= Begin test: 24:00:00 equivalent to 00:00:00 of next day =#=#=#=
+Date: 2020-01-01 00:00:00Z
+=#=#=#= End test: 24:00:00 equivalent to 00:00:00 of next day - OK (0) =#=#=#=
+* Passed: iso8601 - 24:00:00 equivalent to 00:00:00 of next day
+=#=#=#= Begin test: 2006-W01-7 =#=#=#=
+Date: 2006-01-08 00:00:00Z
+=#=#=#= End test: 2006-W01-7 - OK (0) =#=#=#=
+* Passed: iso8601 - 2006-W01-7
+=#=#=#= Begin test: 2006-W01-7 - round-trip =#=#=#=
+Date: 2006-W01-7 00:00:00Z
+=#=#=#= End test: 2006-W01-7 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2006-W01-7 - round-trip
+=#=#=#= Begin test: 2006-W01-1 =#=#=#=
+Date: 2006-01-02 00:00:00Z
+=#=#=#= End test: 2006-W01-1 - OK (0) =#=#=#=
+* Passed: iso8601 - 2006-W01-1
+=#=#=#= Begin test: 2006-W01-1 - round-trip =#=#=#=
+Date: 2006-W01-1 00:00:00Z
+=#=#=#= End test: 2006-W01-1 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2006-W01-1 - round-trip
+=#=#=#= Begin test: 2007-W01-7 =#=#=#=
+Date: 2007-01-07 00:00:00Z
+=#=#=#= End test: 2007-W01-7 - OK (0) =#=#=#=
+* Passed: iso8601 - 2007-W01-7
+=#=#=#= Begin test: 2007-W01-7 - round-trip =#=#=#=
+Date: 2007-W01-7 00:00:00Z
+=#=#=#= End test: 2007-W01-7 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2007-W01-7 - round-trip
+=#=#=#= Begin test: 2007-W01-1 =#=#=#=
+Date: 2007-01-01 00:00:00Z
+=#=#=#= End test: 2007-W01-1 - OK (0) =#=#=#=
+* Passed: iso8601 - 2007-W01-1
+=#=#=#= Begin test: 2007-W01-1 - round-trip =#=#=#=
+Date: 2007-W01-1 00:00:00Z
+=#=#=#= End test: 2007-W01-1 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2007-W01-1 - round-trip
+=#=#=#= Begin test: 2008-W01-7 =#=#=#=
+Date: 2008-01-06 00:00:00Z
+=#=#=#= End test: 2008-W01-7 - OK (0) =#=#=#=
+* Passed: iso8601 - 2008-W01-7
+=#=#=#= Begin test: 2008-W01-7 - round-trip =#=#=#=
+Date: 2008-W01-7 00:00:00Z
+=#=#=#= End test: 2008-W01-7 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2008-W01-7 - round-trip
+=#=#=#= Begin test: 2008-W01-1 =#=#=#=
+Date: 2007-12-31 00:00:00Z
+=#=#=#= End test: 2008-W01-1 - OK (0) =#=#=#=
+* Passed: iso8601 - 2008-W01-1
+=#=#=#= Begin test: 2008-W01-1 - round-trip =#=#=#=
+Date: 2008-W01-1 00:00:00Z
+=#=#=#= End test: 2008-W01-1 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2008-W01-1 - round-trip
+=#=#=#= Begin test: 2009-W01-7 =#=#=#=
+Date: 2009-01-04 00:00:00Z
+=#=#=#= End test: 2009-W01-7 - OK (0) =#=#=#=
+* Passed: iso8601 - 2009-W01-7
+=#=#=#= Begin test: 2009-W01-7 - round-trip =#=#=#=
+Date: 2009-W01-7 00:00:00Z
+=#=#=#= End test: 2009-W01-7 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2009-W01-7 - round-trip
+=#=#=#= Begin test: 2009-W01-1 =#=#=#=
+Date: 2008-12-29 00:00:00Z
+=#=#=#= End test: 2009-W01-1 - OK (0) =#=#=#=
+* Passed: iso8601 - 2009-W01-1
+=#=#=#= Begin test: 2009-W01-1 - round-trip =#=#=#=
+Date: 2009-W01-1 00:00:00Z
+=#=#=#= End test: 2009-W01-1 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2009-W01-1 - round-trip
+=#=#=#= Begin test: 2010-W01-7 =#=#=#=
+Date: 2010-01-10 00:00:00Z
+=#=#=#= End test: 2010-W01-7 - OK (0) =#=#=#=
+* Passed: iso8601 - 2010-W01-7
+=#=#=#= Begin test: 2010-W01-7 - round-trip =#=#=#=
+Date: 2010-W01-7 00:00:00Z
+=#=#=#= End test: 2010-W01-7 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2010-W01-7 - round-trip
+=#=#=#= Begin test: 2010-W01-1 =#=#=#=
+Date: 2010-01-04 00:00:00Z
+=#=#=#= End test: 2010-W01-1 - OK (0) =#=#=#=
+* Passed: iso8601 - 2010-W01-1
+=#=#=#= Begin test: 2010-W01-1 - round-trip =#=#=#=
+Date: 2010-W01-1 00:00:00Z
+=#=#=#= End test: 2010-W01-1 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2010-W01-1 - round-trip
+=#=#=#= Begin test: 2011-W01-7 =#=#=#=
+Date: 2011-01-09 00:00:00Z
+=#=#=#= End test: 2011-W01-7 - OK (0) =#=#=#=
+* Passed: iso8601 - 2011-W01-7
+=#=#=#= Begin test: 2011-W01-7 - round-trip =#=#=#=
+Date: 2011-W01-7 00:00:00Z
+=#=#=#= End test: 2011-W01-7 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2011-W01-7 - round-trip
+=#=#=#= Begin test: 2011-W01-1 =#=#=#=
+Date: 2011-01-03 00:00:00Z
+=#=#=#= End test: 2011-W01-1 - OK (0) =#=#=#=
+* Passed: iso8601 - 2011-W01-1
+=#=#=#= Begin test: 2011-W01-1 - round-trip =#=#=#=
+Date: 2011-W01-1 00:00:00Z
+=#=#=#= End test: 2011-W01-1 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2011-W01-1 - round-trip
+=#=#=#= Begin test: 2012-W01-7 =#=#=#=
+Date: 2012-01-08 00:00:00Z
+=#=#=#= End test: 2012-W01-7 - OK (0) =#=#=#=
+* Passed: iso8601 - 2012-W01-7
+=#=#=#= Begin test: 2012-W01-7 - round-trip =#=#=#=
+Date: 2012-W01-7 00:00:00Z
+=#=#=#= End test: 2012-W01-7 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2012-W01-7 - round-trip
+=#=#=#= Begin test: 2012-W01-1 =#=#=#=
+Date: 2012-01-02 00:00:00Z
+=#=#=#= End test: 2012-W01-1 - OK (0) =#=#=#=
+* Passed: iso8601 - 2012-W01-1
+=#=#=#= Begin test: 2012-W01-1 - round-trip =#=#=#=
+Date: 2012-W01-1 00:00:00Z
+=#=#=#= End test: 2012-W01-1 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2012-W01-1 - round-trip
+=#=#=#= Begin test: 2013-W01-7 =#=#=#=
+Date: 2013-01-06 00:00:00Z
+=#=#=#= End test: 2013-W01-7 - OK (0) =#=#=#=
+* Passed: iso8601 - 2013-W01-7
+=#=#=#= Begin test: 2013-W01-7 - round-trip =#=#=#=
+Date: 2013-W01-7 00:00:00Z
+=#=#=#= End test: 2013-W01-7 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2013-W01-7 - round-trip
+=#=#=#= Begin test: 2013-W01-1 =#=#=#=
+Date: 2012-12-31 00:00:00Z
+=#=#=#= End test: 2013-W01-1 - OK (0) =#=#=#=
+* Passed: iso8601 - 2013-W01-1
+=#=#=#= Begin test: 2013-W01-1 - round-trip =#=#=#=
+Date: 2013-W01-1 00:00:00Z
+=#=#=#= End test: 2013-W01-1 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2013-W01-1 - round-trip
+=#=#=#= Begin test: 2014-W01-7 =#=#=#=
+Date: 2014-01-05 00:00:00Z
+=#=#=#= End test: 2014-W01-7 - OK (0) =#=#=#=
+* Passed: iso8601 - 2014-W01-7
+=#=#=#= Begin test: 2014-W01-7 - round-trip =#=#=#=
+Date: 2014-W01-7 00:00:00Z
+=#=#=#= End test: 2014-W01-7 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2014-W01-7 - round-trip
+=#=#=#= Begin test: 2014-W01-1 =#=#=#=
+Date: 2013-12-30 00:00:00Z
+=#=#=#= End test: 2014-W01-1 - OK (0) =#=#=#=
+* Passed: iso8601 - 2014-W01-1
+=#=#=#= Begin test: 2014-W01-1 - round-trip =#=#=#=
+Date: 2014-W01-1 00:00:00Z
+=#=#=#= End test: 2014-W01-1 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2014-W01-1 - round-trip
+=#=#=#= Begin test: 2015-W01-7 =#=#=#=
+Date: 2015-01-04 00:00:00Z
+=#=#=#= End test: 2015-W01-7 - OK (0) =#=#=#=
+* Passed: iso8601 - 2015-W01-7
+=#=#=#= Begin test: 2015-W01-7 - round-trip =#=#=#=
+Date: 2015-W01-7 00:00:00Z
+=#=#=#= End test: 2015-W01-7 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2015-W01-7 - round-trip
+=#=#=#= Begin test: 2015-W01-1 =#=#=#=
+Date: 2014-12-29 00:00:00Z
+=#=#=#= End test: 2015-W01-1 - OK (0) =#=#=#=
+* Passed: iso8601 - 2015-W01-1
+=#=#=#= Begin test: 2015-W01-1 - round-trip =#=#=#=
+Date: 2015-W01-1 00:00:00Z
+=#=#=#= End test: 2015-W01-1 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2015-W01-1 - round-trip
+=#=#=#= Begin test: 2016-W01-7 =#=#=#=
+Date: 2016-01-10 00:00:00Z
+=#=#=#= End test: 2016-W01-7 - OK (0) =#=#=#=
+* Passed: iso8601 - 2016-W01-7
+=#=#=#= Begin test: 2016-W01-7 - round-trip =#=#=#=
+Date: 2016-W01-7 00:00:00Z
+=#=#=#= End test: 2016-W01-7 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2016-W01-7 - round-trip
+=#=#=#= Begin test: 2016-W01-1 =#=#=#=
+Date: 2016-01-04 00:00:00Z
+=#=#=#= End test: 2016-W01-1 - OK (0) =#=#=#=
+* Passed: iso8601 - 2016-W01-1
+=#=#=#= Begin test: 2016-W01-1 - round-trip =#=#=#=
+Date: 2016-W01-1 00:00:00Z
+=#=#=#= End test: 2016-W01-1 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2016-W01-1 - round-trip
+=#=#=#= Begin test: 2017-W01-7 =#=#=#=
+Date: 2017-01-08 00:00:00Z
+=#=#=#= End test: 2017-W01-7 - OK (0) =#=#=#=
+* Passed: iso8601 - 2017-W01-7
+=#=#=#= Begin test: 2017-W01-7 - round-trip =#=#=#=
+Date: 2017-W01-7 00:00:00Z
+=#=#=#= End test: 2017-W01-7 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2017-W01-7 - round-trip
+=#=#=#= Begin test: 2017-W01-1 =#=#=#=
+Date: 2017-01-02 00:00:00Z
+=#=#=#= End test: 2017-W01-1 - OK (0) =#=#=#=
+* Passed: iso8601 - 2017-W01-1
+=#=#=#= Begin test: 2017-W01-1 - round-trip =#=#=#=
+Date: 2017-W01-1 00:00:00Z
+=#=#=#= End test: 2017-W01-1 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2017-W01-1 - round-trip
+=#=#=#= Begin test: 2018-W01-7 =#=#=#=
+Date: 2018-01-07 00:00:00Z
+=#=#=#= End test: 2018-W01-7 - OK (0) =#=#=#=
+* Passed: iso8601 - 2018-W01-7
+=#=#=#= Begin test: 2018-W01-7 - round-trip =#=#=#=
+Date: 2018-W01-7 00:00:00Z
+=#=#=#= End test: 2018-W01-7 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2018-W01-7 - round-trip
+=#=#=#= Begin test: 2018-W01-1 =#=#=#=
+Date: 2018-01-01 00:00:00Z
+=#=#=#= End test: 2018-W01-1 - OK (0) =#=#=#=
+* Passed: iso8601 - 2018-W01-1
+=#=#=#= Begin test: 2018-W01-1 - round-trip =#=#=#=
+Date: 2018-W01-1 00:00:00Z
+=#=#=#= End test: 2018-W01-1 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2018-W01-1 - round-trip
+=#=#=#= Begin test: 2040-W01-7 =#=#=#=
+Date: 2040-01-08 00:00:00Z
+=#=#=#= End test: 2040-W01-7 - OK (0) =#=#=#=
+* Passed: iso8601 - 2040-W01-7
+=#=#=#= Begin test: 2040-W01-7 - round-trip =#=#=#=
+Date: 2040-W01-7 00:00:00Z
+=#=#=#= End test: 2040-W01-7 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2040-W01-7 - round-trip
+=#=#=#= Begin test: 2040-W01-1 =#=#=#=
+Date: 2040-01-02 00:00:00Z
+=#=#=#= End test: 2040-W01-1 - OK (0) =#=#=#=
+* Passed: iso8601 - 2040-W01-1
+=#=#=#= Begin test: 2040-W01-1 - round-trip =#=#=#=
+Date: 2040-W01-1 00:00:00Z
+=#=#=#= End test: 2040-W01-1 - round-trip - OK (0) =#=#=#=
+* Passed: iso8601 - 2040-W01-1 - round-trip
+=#=#=#= Begin test: 2009-W53-07 =#=#=#=
+Date: 2009-W53-7 00:00:00Z
+=#=#=#= End test: 2009-W53-07 - OK (0) =#=#=#=
+* Passed: iso8601 - 2009-W53-07
+=#=#=#= Begin test: epoch + 2 Years 5 Months 6 Minutes =#=#=#=
+Date: 1970-01-01 00:00:00Z
+Duration: 2 years 5 months 360 seconds (6 minutes)
+Duration ends at: 1972-06-01 00:06:00Z
+=#=#=#= End test: epoch + 2 Years 5 Months 6 Minutes - OK (0) =#=#=#=
+* Passed: iso8601 - epoch + 2 Years 5 Months 6 Minutes
+=#=#=#= Begin test: 2009-01-31 + 1 Month =#=#=#=
+Date: 2009-01-31 00:00:00Z
+Duration: 1 month
+Duration ends at: 2009-02-28 00:00:00Z
+=#=#=#= End test: 2009-01-31 + 1 Month - OK (0) =#=#=#=
+* Passed: iso8601 - 2009-01-31 + 1 Month
+=#=#=#= Begin test: 2009-01-31 + 2 Months =#=#=#=
+Date: 2009-01-31 00:00:00Z
+Duration: 2 months
+Duration ends at: 2009-03-31 00:00:00Z
+=#=#=#= End test: 2009-01-31 + 2 Months - OK (0) =#=#=#=
+* Passed: iso8601 - 2009-01-31 + 2 Months
+=#=#=#= Begin test: 2009-01-31 + 3 Months =#=#=#=
+Date: 2009-01-31 00:00:00Z
+Duration: 3 months
+Duration ends at: 2009-04-30 00:00:00Z
+=#=#=#= End test: 2009-01-31 + 3 Months - OK (0) =#=#=#=
+* Passed: iso8601 - 2009-01-31 + 3 Months
+=#=#=#= Begin test: 2009-03-31 - 1 Month =#=#=#=
+Date: 2009-03-31 00:00:00Z
+Duration: -1 months
+Duration ends at: 2009-02-28 01:00:00 +01:00
+=#=#=#= End test: 2009-03-31 - 1 Month - OK (0) =#=#=#=
+* Passed: iso8601 - 2009-03-31 - 1 Month
+=#=#=#= Begin test: 2038-01-01 + 3 Months =#=#=#=
+Date: 2038-01-01 00:00:00Z
+Duration: 3 months
+Duration ends at: 2038-04-01 00:00:00Z
+=#=#=#= End test: 2038-01-01 + 3 Months - OK (0) =#=#=#=
+* Passed: iso8601 - 2038-01-01 + 3 Months