1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401
|
=#=#=#= 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 valid 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: '2005-040/2005-043' period =#=#=#=
Period: 2005-02-09 00:00:00Z to 2005-02-12 00:00:00Z
=#=#=#= End test: '2005-040/2005-043' period - OK (0) =#=#=#=
* Passed: iso8601 - '2005-040/2005-043' period
=#=#=#= Begin test: '2005-040/2005-043' period (XML) =#=#=#=
<pacemaker-result api-version="X" request="iso8601 --output-as=xml -p 2005-040/2005-043">
<period>
<start>2005-02-09 00:00:00Z</start>
<end>2005-02-12 00:00:00Z</end>
</period>
<status code="0" message="OK"/>
</pacemaker-result>
=#=#=#= End test: '2005-040/2005-043' period (XML) - OK (0) =#=#=#=
* Passed: iso8601 - '2005-040/2005-043' period (XML)
=#=#=#= 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: 2009-W53-07 (XML) =#=#=#=
<pacemaker-result api-version="X" request="iso8601 --output-as=xml -d '2009-W53-7 00:00:00Z' -W -E '2009-W53-7 00:00:00Z'">
<date>2009-W53-7 00:00:00Z</date>
<status code="0" message="OK"/>
</pacemaker-result>
=#=#=#= End test: 2009-W53-07 (XML) - OK (0) =#=#=#=
* Passed: iso8601 - 2009-W53-07 (XML)
=#=#=#= 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: 2009-03-31 - 1 Month (XML) =#=#=#=
<pacemaker-result api-version="X" request="iso8601 --output-as=xml -d '2009-03-31 01:00:00 +01:00' -D P-1M -E '2009-02-28 00:00:00Z'">
<date>2009-03-31 00:00:00Z</date>
<duration>-1 months </duration>
<duration_ends>2009-02-28 01:00:00 +01:00</duration_ends>
<status code="0" message="OK"/>
</pacemaker-result>
=#=#=#= End test: 2009-03-31 - 1 Month (XML) - OK (0) =#=#=#=
* Passed: iso8601 - 2009-03-31 - 1 Month (XML)
=#=#=#= 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
=#=#=#= Begin test: 2038-01-01 + 3 Months (XML) =#=#=#=
<pacemaker-result api-version="X" request="iso8601 --output-as=xml -d '2038-01-01 00:00:00Z' -D P3M -E '2038-04-01 00:00:00Z'">
<date>2038-01-01 00:00:00Z</date>
<duration> 3 months </duration>
<duration_ends>2038-04-01 00:00:00Z</duration_ends>
<status code="0" message="OK"/>
</pacemaker-result>
=#=#=#= End test: 2038-01-01 + 3 Months (XML) - OK (0) =#=#=#=
* Passed: iso8601 - 2038-01-01 + 3 Months (XML)
|