Please note that the API for Date::ICal is still possibly in flux, and
you should expect it to change without much warning. If you are actively
using this module in important work, you need to subscribe to the
development mailing list and keep track of what changes. See
http://www.reefknot.org/ for relevant information.
The Reefknot Team
Checking if your kit is complete...
Looks good
Writing Makefile for Date::ICal
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
cp lib/Date/ICal.pm blib\lib\Date\ICal.pm
cp lib/Date/ICal/Duration.pm blib\lib\Date\ICal\Duration.pm
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
C:\cpanrun\build\5-10-0\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib\lib', 'blib\arch')" t/*.t
t/00load..........ok 1 - use Date::ICal;
1..1
ok
t/01sanity........ok 1 - use Date::ICal;
ok 2 - Epoch time of 0
ok 3 - When does the epoch start?
ok 4 - Year accessor, start of epoch
ok 5 - Month accessor, start of epoch
ok 6 - Day accessor, start of epoch
ok 7 - Start of epoch in ICal notation
ok 8 - Time should be stored in UTC anyway, right?
ok 9 - Date should be in December
ok 10 - 4 weeks later, it is January
ok 11 - Year accessor
ok 12 - Month accessor
ok 13 - Day accessor
ok 14 - Hour accessor
ok 15 - Minute accessor
ok 16 - Second accessor
ok 17 - Year accessor, outside of the epoch
ok 18 - Month accessor, outside the epoch
ok 19 - Day accessor, outside the epoch
ok 20 - Hour accessor, outside the epoch
ok 21 - Minute accessor, outside the epoch
ok 22 - Second accessor, outside the epoch
1..22
ok
t/02normalize.....ok 1 - use Date::ICal;
ok 2 - Add one day
ok 3 - Add a week
ok 4 - Add 3 hours
ok 5 - 2 weeks later, it is December
ok 6 - December 15th to be precise
1..6
ok
t/03components....ok 1 - use Date::ICal;
ok 2 - Year, creation by components
ok 3 - Month, creation by components
ok 4 - Day, creation by components
ok 5 - Hour, creation by components
ok 6 - Min, creation by components
ok 7 - Sec, creation by components
ok 8 - ical, creation by components
1..8
ok
t/04epoch.........ok 1 - use Date::ICal;
ok 2 - creation test from epoch (compare to epoch)
ok 3 - creation test from epoch (compare to ical)
ok 4 - seconds are correct on epoch 0
ok 5 - minutes are correct on epoch 0
ok 6 - hours are correct on epoch 0
ok 7 - days are correct on epoch 0
ok 8 - months are correct on epoch 0
ok 9 - year is correct on epoch 0
ok 10 - creation test from epoch = 3600 (compare to epoch)
ok 11 - creation test from epoch (compare to ical = 19700101T010000Z)
ok 12 - Hour: Create without args
ok 13 - Month : Create without args
ok 14 - Minute: Create without args
ok 15 - Setting epoch returns correct value
ok 16 - And the value stuck
ok 17 - Hour, after setting epoch
ok 18 - Min, after setting epoch
1..18
ok
t/05ical..........ok 1 - use Date::ICal;
ok 2 - second accessor read is correct
ok 3 - minute accessor read is correct
ok 4 - hour accessor read is correct
ok 5 - day accessor read is correct
ok 6 - month accessor read is correct
ok 7 - year accessor read is correct
ok 8 - Pre-epoch year
ok 9 - Pre-epoch month
ok 10 - Pre-epoch seconds
ok 11 - Post-epoch year
ok 12 - Post-epoch day
ok 13 - Post-epoch hour
1..13
ok
t/06add...........ok 1 - use Date::ICal;
ok 2 - year rollover
ok 3 - month set on year rollover
ok 4 - ical is okay on year rollover
ok 5 - Adding weeks as attribute
ok 6 - Adding seconds as attribute
ok 7 - Adding minutes as attribute
ok 8 - Adding h,m,s as attributes
ok 9 - Adding durations with minutes and seconds works
ok 10 - Adding durations with seconds only works
ok 11 - Adding durations with hours and minutes works
ok 12 - Adding durations with days only works
ok 13 - Adding durations with days and hours works
ok 14 - Adding durations with days, hours, minutes, and seconds works
ok 15 - Adding minutes to an ical string
ok 16 - Back where we started
ok 17 - adding positive seconds with seconds works
ok 18 - adding negative seconds with seconds works
ok 19 - february 1st
ok 20 - march 1st
ok 21 - april 1st
ok 22 - may 1st
ok 23 - june 1st
ok 24 - july 1st
ok 25 - august 1st
ok 26 - september 1st
ok 27 - october 1st
ok 28 - november 1st
ok 29 - december 1st
ok 30 - january 1st
ok 31 - Adding a year
ok 32 - Adding 17 years
ok 33 - Adding a year
ok 34 - Adding 17 years
ok 35 - Adding a year
ok 36 - Adding 17 years
ok 37 - Adding a year
ok 38 - Adding 17 years
ok 39 - Adding a year
ok 40 - Adding 17 years
ok 41 - Adding 1 years
ok 42 - Adding 2 years
ok 43 - Adding 3 years
ok 44 - Adding 4 years
ok 45 - Adding 5 years
ok 46 - Adding 6 years
ok 47 - Adding 7 years
ok 48 - Adding 8 years
ok 49 - Adding 9 years
ok 50 - Adding 10 years
ok 51 - Adding 11 years
ok 52 - Adding 12 years
ok 53 - Adding 13 years
ok 54 - Adding 14 years
ok 55 - Adding 15 years
ok 56 - Adding 16 years
ok 57 - Adding 17 years
ok 58 - Adding 18 years
ok 59 - Adding 19 years
ok 60 - Adding 20 years
ok 61 - Adding 21 years
ok 62 - Adding 22 years
ok 63 - Adding 23 years
ok 64 - Adding 24 years
ok 65 - Adding 25 years
ok 66 - Adding 26 years
ok 67 - Adding 27 years
ok 68 - Adding 28 years
ok 69 - Adding 29 years
ok 70 - Adding 30 years
ok 71 - Adding 31 years
ok 72 - Adding 32 years
ok 73 - Adding 33 years
ok 74 - Adding 34 years
ok 75 - Adding 35 years
ok 76 - Adding 36 years
ok 77 - Adding 37 years
ok 78 - Adding 38 years
ok 79 - Adding 39 years
ok 80 - Adding 40 years
ok 81 - Adding 41 years
ok 82 - Adding 42 years
ok 83 - Adding 43 years
ok 84 - Adding 44 years
ok 85 - Adding 45 years
ok 86 - Adding 46 years
ok 87 - Adding 47 years
ok 88 - Adding 48 years
ok 89 - Adding 49 years
ok 90 - Adding 50 years
ok 91 - Adding 51 years
ok 92 - Adding 52 years
ok 93 - Adding 53 years
ok 94 - Adding 54 years
ok 95 - Adding 55 years
ok 96 - Adding 56 years
ok 97 - Adding 57 years
ok 98 - Adding 58 years
ok 99 - Adding 59 years
ok 100 - Adding 60 years
ok 101 - Adding 61 years
ok 102 - Adding 62 years
ok 103 - Adding 63 years
ok 104 - Adding 64 years
ok 105 - Adding 65 years
ok 106 - Adding 66 years
ok 107 - Adding 67 years
ok 108 - Adding 68 years
ok 109 - Adding 69 years
ok 110 - Adding 70 years
ok 111 - Adding 71 years
ok 112 - Adding 72 years
ok 113 - Adding 73 years
ok 114 - Adding 74 years
ok 115 - Adding 75 years
ok 116 - Adding 76 years
ok 117 - Adding 77 years
ok 118 - Adding 78 years
ok 119 - Adding 79 years
ok 120 - Adding 80 years
ok 121 - Adding 81 years
ok 122 - Adding 82 years
ok 123 - Adding 83 years
ok 124 - Adding 84 years
ok 125 - Adding 85 years
ok 126 - Adding 86 years
ok 127 - Adding 87 years
ok 128 - Adding 88 years
ok 129 - Adding 89 years
ok 130 - Adding 90 years
ok 131 - Adding 91 years
ok 132 - Adding 92 years
ok 133 - Adding 93 years
ok 134 - Adding 94 years
ok 135 - Adding 95 years
ok 136 - Adding 96 years
ok 137 - Adding 97 years
ok 138 - Adding 98 years
ok 139 - Adding 99 years
ok 140 - Adding 1 years
ok 141 - Adding 2 years
ok 142 - Adding 3 years
ok 143 - Adding 4 years
ok 144 - Adding 5 years
ok 145 - Adding 6 years
ok 146 - Adding 7 years
ok 147 - Adding 8 years
ok 148 - Adding 9 years
ok 149 - Adding 10 years
ok 150 - Adding 11 years
ok 151 - Adding 12 years
ok 152 - Adding 13 years
ok 153 - Adding 14 years
ok 154 - Adding 15 years
ok 155 - Adding 16 years
ok 156 - Adding 17 years
ok 157 - Adding 18 years
ok 158 - Adding 19 years
ok 159 - Adding 20 years
ok 160 - Adding 21 years
ok 161 - Adding 22 years
ok 162 - Adding 23 years
ok 163 - Adding 24 years
ok 164 - Adding 25 years
ok 165 - Adding 26 years
ok 166 - Adding 27 years
ok 167 - Adding 28 years
ok 168 - Adding 29 years
ok 169 - Adding 30 years
ok 170 - Adding 31 years
ok 171 - Adding 32 years
ok 172 - Adding 33 years
ok 173 - Adding 34 years
ok 174 - Adding 35 years
ok 175 - Adding 36 years
ok 176 - Adding 37 years
ok 177 - Adding 38 years
ok 178 - Adding 39 years
ok 179 - Adding 40 years
ok 180 - Adding 41 years
ok 181 - Adding 42 years
ok 182 - Adding 43 years
ok 183 - Adding 44 years
ok 184 - Adding 45 years
ok 185 - Adding 46 years
ok 186 - Adding 47 years
ok 187 - Adding 48 years
ok 188 - Adding 49 years
ok 189 - Adding 50 years
ok 190 - Adding 51 years
ok 191 - Adding 52 years
ok 192 - Adding 53 years
ok 193 - Adding 54 years
ok 194 - Adding 55 years
ok 195 - Adding 56 years
ok 196 - Adding 57 years
ok 197 - Adding 58 years
ok 198 - Adding 59 years
ok 199 - Adding 60 years
ok 200 - Adding 61 years
ok 201 - Adding 62 years
ok 202 - Adding 63 years
ok 203 - Adding 64 years
ok 204 - Adding 65 years
ok 205 - Adding 66 years
ok 206 - Adding 67 years
ok 207 - Adding 68 years
ok 208 - Adding 69 years
ok 209 - Adding 70 years
ok 210 - Adding 71 years
ok 211 - Adding 72 years
ok 212 - Adding 73 years
ok 213 - Adding 74 years
ok 214 - Adding 75 years
ok 215 - Adding 76 years
ok 216 - Adding 77 years
ok 217 - Adding 78 years
ok 218 - Adding 79 years
ok 219 - Adding 80 years
ok 220 - Adding 81 years
ok 221 - Adding 82 years
ok 222 - Adding 83 years
ok 223 - Adding 84 years
ok 224 - Adding 85 years
ok 225 - Adding 86 years
ok 226 - Adding 87 years
ok 227 - Adding 88 years
ok 228 - Adding 89 years
ok 229 - Adding 90 years
ok 230 - Adding 91 years
ok 231 - Adding 92 years
ok 232 - Adding 93 years
ok 233 - Adding 94 years
ok 234 - Adding 95 years
ok 235 - Adding 96 years
ok 236 - Adding 97 years
ok 237 - Adding 98 years
ok 238 - Adding 99 years
ok 239 - Adding 1 years
ok 240 - Adding 2 years
ok 241 - Adding 3 years
ok 242 - Adding 4 years
ok 243 - Adding 5 years
ok 244 - Adding 6 years
ok 245 - Adding 7 years
ok 246 - Adding 8 years
ok 247 - Adding 9 years
ok 248 - Adding 10 years
ok 249 - Adding 11 years
ok 250 - Adding 12 years
ok 251 - Adding 13 years
ok 252 - Adding 14 years
ok 253 - Adding 15 years
ok 254 - Adding 16 years
ok 255 - Adding 17 years
ok 256 - Adding 18 years
ok 257 - Adding 19 years
ok 258 - Adding 20 years
ok 259 - Adding 21 years
ok 260 - Adding 22 years
ok 261 - Adding 23 years
ok 262 - Adding 24 years
ok 263 - Adding 25 years
ok 264 - Adding 26 years
ok 265 - Adding 27 years
ok 266 - Adding 28 years
ok 267 - Adding 29 years
ok 268 - Adding 30 years
ok 269 - Adding 31 years
ok 270 - Adding 32 years
ok 271 - Adding 33 years
ok 272 - Adding 34 years
ok 273 - Adding 35 years
ok 274 - Adding 36 years
ok 275 - Adding 37 years
ok 276 - Adding 38 years
ok 277 - Adding 39 years
ok 278 - Adding 40 years
ok 279 - Adding 41 years
ok 280 - Adding 42 years
ok 281 - Adding 43 years
ok 282 - Adding 44 years
ok 283 - Adding 45 years
ok 284 - Adding 46 years
ok 285 - Adding 47 years
ok 286 - Adding 48 years
ok 287 - Adding 49 years
ok 288 - Adding 50 years
ok 289 - Adding 51 years
ok 290 - Adding 52 years
ok 291 - Adding 53 years
ok 292 - Adding 54 years
ok 293 - Adding 55 years
ok 294 - Adding 56 years
ok 295 - Adding 57 years
ok 296 - Adding 58 years
ok 297 - Adding 59 years
ok 298 - Adding 60 years
ok 299 - Adding 61 years
ok 300 - Adding 62 years
ok 301 - Adding 63 years
ok 302 - Adding 64 years
ok 303 - Adding 65 years
ok 304 - Adding 66 years
ok 305 - Adding 67 years
ok 306 - Adding 68 years
ok 307 - Adding 69 years
ok 308 - Adding 70 years
ok 309 - Adding 71 years
ok 310 - Adding 72 years
ok 311 - Adding 73 years
ok 312 - Adding 74 years
ok 313 - Adding 75 years
ok 314 - Adding 76 years
ok 315 - Adding 77 years
ok 316 - Adding 78 years
ok 317 - Adding 79 years
ok 318 - Adding 80 years
ok 319 - Adding 81 years
ok 320 - Adding 82 years
ok 321 - Adding 83 years
ok 322 - Adding 84 years
ok 323 - Adding 85 years
ok 324 - Adding 86 years
ok 325 - Adding 87 years
ok 326 - Adding 88 years
ok 327 - Adding 89 years
ok 328 - Adding 90 years
ok 329 - Adding 91 years
ok 330 - Adding 92 years
ok 331 - Adding 93 years
ok 332 - Adding 94 years
ok 333 - Adding 95 years
ok 334 - Adding 96 years
ok 335 - Adding 97 years
ok 336 - Adding 1 years
ok 337 - Adding 2 years
ok 338 - Adding 3 years
ok 339 - Adding 4 years
ok 340 - Adding 5 years
ok 341 - Adding 6 years
ok 342 - Adding 7 years
ok 343 - Adding 8 years
ok 344 - Adding 9 years
ok 345 - Adding 10 years
ok 346 - Adding 11 years
ok 347 - Adding 12 years
ok 348 - Adding 13 years
ok 349 - Adding 14 years
ok 350 - Adding 15 years
ok 351 - Adding 16 years
ok 352 - Adding 17 years
ok 353 - Adding 18 years
ok 354 - Adding 19 years
ok 355 - Adding 20 years
ok 356 - Adding 21 years
ok 357 - Adding 22 years
ok 358 - Adding 23 years
ok 359 - Adding 24 years
ok 360 - Adding 25 years
ok 361 - Adding 26 years
ok 362 - Adding 27 years
ok 363 - Adding 28 years
ok 364 - Adding 29 years
ok 365 - Adding 30 years
ok 366 - Adding 31 years
ok 367 - Adding 32 years
ok 368 - Adding 33 years
ok 369 - Adding 34 years
ok 370 - Adding 35 years
ok 371 - Adding 36 years
ok 372 - Adding 37 years
ok 373 - Adding 38 years
ok 374 - Adding 39 years
ok 375 - Adding 40 years
ok 376 - Adding 41 years
ok 377 - Adding 42 years
ok 378 - Adding 43 years
ok 379 - Adding 44 years
ok 380 - Adding 45 years
ok 381 - Adding 46 years
ok 382 - Adding 47 years
ok 383 - Adding 48 years
ok 384 - Adding 49 years
ok 385 - Adding 50 years
ok 386 - Adding 51 years
ok 387 - Adding 52 years
ok 388 - Adding 53 years
ok 389 - Adding 54 years
ok 390 - Adding 55 years
ok 391 - Adding 56 years
ok 392 - Adding 57 years
ok 393 - Adding 58 years
ok 394 - Adding 59 years
ok 395 - Adding 60 years
ok 396 - Adding 61 years
ok 397 - Adding 62 years
ok 398 - Adding 63 years
ok 399 - Adding 64 years
ok 400 - Adding 65 years
ok 401 - Adding 66 years
ok 402 - Adding 67 years
ok 403 - Adding 68 years
ok 404 - Adding 69 years
ok 405 - Adding 70 years
ok 406 - Adding 71 years
ok 407 - Adding 72 years
ok 408 - Adding 73 years
ok 409 - Adding 74 years
ok 410 - Adding 75 years
ok 411 - Adding 76 years
ok 412 - Adding 77 years
ok 413 - Adding 78 years
ok 414 - Adding 79 years
ok 415 - Adding 80 years
ok 416 - Adding 81 years
ok 417 - Adding 82 years
ok 418 - Adding 83 years
ok 419 - Adding 84 years
ok 420 - Adding 85 years
ok 421 - Adding 86 years
ok 422 - Adding 87 years
ok 423 - Adding 88 years
ok 424 - Adding 89 years
ok 425 - Adding 90 years
ok 426 - Adding 91 years
ok 427 - Adding 92 years
ok 428 - Adding 93 years
ok 429 - Adding 94 years
ok 430 - Adding 95 years
ok 431 - Adding 96 years
ok 432 - Adding 97 years
ok 433 - Subtracting 1 years
ok 434 - Subtracting 2 years
ok 435 - Subtracting 3 years
ok 436 - Subtracting 4 years
ok 437 - Subtracting 5 years
ok 438 - Subtracting 6 years
ok 439 - Subtracting 7 years
ok 440 - Subtracting 8 years
ok 441 - Subtracting 9 years
ok 442 - Subtracting 10 years
ok 443 - Subtracting 11 years
ok 444 - Subtracting 12 years
ok 445 - Subtracting 13 years
ok 446 - Subtracting 14 years
ok 447 - Subtracting 15 years
ok 448 - Subtracting 16 years
ok 449 - Subtracting 17 years
ok 450 - Subtracting 18 years
ok 451 - Subtracting 19 years
ok 452 - Subtracting 20 years
ok 453 - Subtracting 21 years
ok 454 - Subtracting 22 years
ok 455 - Subtracting 23 years
ok 456 - Subtracting 24 years
ok 457 - Subtracting 25 years
ok 458 - Subtracting 26 years
ok 459 - Subtracting 27 years
ok 460 - Subtracting 28 years
ok 461 - Subtracting 29 years
ok 462 - Subtracting 30 years
ok 463 - Subtracting 31 years
ok 464 - Subtracting 32 years
ok 465 - Subtracting 33 years
ok 466 - Subtracting 34 years
ok 467 - Subtracting 35 years
ok 468 - Subtracting 36 years
ok 469 - Subtracting 37 years
ok 470 - Subtracting 38 years
ok 471 - Subtracting 39 years
ok 472 - Subtracting 40 years
ok 473 - Subtracting 41 years
ok 474 - Subtracting 42 years
ok 475 - Subtracting 43 years
ok 476 - Subtracting 44 years
ok 477 - Subtracting 45 years
ok 478 - Subtracting 46 years
ok 479 - Subtracting 47 years
ok 480 - Subtracting 48 years
ok 481 - Subtracting 49 years
ok 482 - Subtracting 50 years
ok 483 - Subtracting 51 years
ok 484 - Subtracting 52 years
ok 485 - Subtracting 53 years
ok 486 - Subtracting 54 years
ok 487 - Subtracting 55 years
ok 488 - Subtracting 56 years
ok 489 - Subtracting 57 years
ok 490 - Subtracting 58 years
ok 491 - Subtracting 59 years
ok 492 - Subtracting 60 years
ok 493 - Subtracting 61 years
ok 494 - Subtracting 62 years
ok 495 - Subtracting 63 years
ok 496 - Subtracting 64 years
ok 497 - Subtracting 65 years
ok 498 - Subtracting 66 years
ok 499 - Subtracting 67 years
ok 500 - Subtracting 68 years
ok 501 - Subtracting 69 years
ok 502 - Subtracting 70 years
ok 503 - Subtracting 71 years
ok 504 - Subtracting 72 years
ok 505 - Subtracting 73 years
ok 506 - Subtracting 74 years
ok 507 - Subtracting 75 years
ok 508 - Subtracting 76 years
ok 509 - Subtracting 77 years
ok 510 - Subtracting 78 years
ok 511 - Subtracting 79 years
ok 512 - Subtracting 80 years
ok 513 - Subtracting 81 years
ok 514 - Subtracting 82 years
ok 515 - Subtracting 83 years
ok 516 - Subtracting 84 years
ok 517 - Subtracting 85 years
ok 518 - Subtracting 86 years
ok 519 - Subtracting 87 years
ok 520 - Subtracting 88 years
ok 521 - Subtracting 89 years
ok 522 - Subtracting 90 years
ok 523 - Subtracting 91 years
ok 524 - Subtracting 92 years
ok 525 - Subtracting 93 years
ok 526 - Subtracting 94 years
ok 527 - Subtracting 95 years
ok 528 - Subtracting 96 years
ok 529 - Subtracting 97 years
ok 530 - Adding months--rollover year
ok 531 - Subtracting months--rollover year
1..531
ok
t/07compare.......ok 1 - use Date::ICal;
ok 2 - Identity comparison
ok 3 - Comparison $a < $b, 1 second diff
ok 4 - Comparison $a < $b, 1 minute diff
ok 5 - Comparison $a < $b, 1 hour diff
ok 6 - Comparison $a < $b, 1 day diff
ok 7 - Comparison $a < $b, 1 month diff
ok 8 - Comparison $a < $b, 1 year diff
ok 9 - Comparison $a > $b, 1 second diff
ok 10 - Comparison $a > $b, 1 minute diff
ok 11 - Comparison $a > $b, 1 hour diff
ok 12 - Comparison $a > $b, 1 day diff
ok 13 - Comparison $a > $b, 1 month diff
ok 14 - Comparison $a > $b, 1 year diff
1..14
ok
t/08offset........ok 1 - use Date::ICal;
ok 2 - creation test from epoch (compare to epoch)
ok 3 - creation test from epoch (compare to ical)
ok 4 - offset is 0 by default
ok 5 - setting offset positive returns correct value
ok 6 - offset set correctly with positive value
ok 7 - offset_from_seconds does the right thing on 0
ok 8 - offset_from_seconds works on positive whole hours
ok 9 - offset_from_seconds works on negative whole hours
ok 10 - offset_from_seconds works on positive half hours
ok 11 - offset_from_seconds works on negative half hours
ok 12 - offset_from_seconds works on positive 15min zones
ok 13 - offset_from_seconds works on negative 15min zones
ok 14 - offset_from_seconds rolls over properly on one full day of seconds
ok 15 - offset_from_seconds rolls over properly on one day + 1 hour of seconds
ok 16 - offset rejects bad args
ok 17 - without changing the offset
ok 18 - and with a warning
ok 19 - setting offset negative returns correct value
ok 20 - offset set correctly with negative value
ok 21 - offset can be reset to zero seconds
ok 22 - UTC in ical ending with Z overrides offset
ok 23 - new object with localtime ical and an offset returns a defined value
ok 24 - offset() returns negative offsets correctly
ok 25 - Default ical() output is in UTC
ok 26 - Default ical() output in UTC is correct when an object is initialized with an offset
ok 27 - Localtime ical( localtime => 1 ) output is correct
ok 28 - Default ical() output in UTC is correct after localtime access made
ok 29 - offset() returns positive offsets correctly
ok 30 - offset() returns fractional-hour offsets correctly
1..30
ok
t/09greg..........ok 1 - use Date::ICal;
ok 2 - -2147483648 => -5879610/6/22
ok 3 - -5879610/6/22 => -2147483648
ok 4 - 2147483647 => 5879611/7/11
ok 5 - 5879611/7/11 => 2147483647
ok 6 - -1721425 => -4713/11/24
ok 7 - -4713/11/24 => -1721425
ok 8 - -1373427 => -3760/9/7
ok 9 - -3760/9/7 => -1373427
ok 10 - -1137142 => -3113/8/11
ok 11 - -3113/8/11 => -1137142
ok 12 - -1132959 => -3101/1/23
ok 13 - -3101/1/23 => -1132959
ok 14 - -963099 => -2636/2/15
ok 15 - -2636/2/15 => -963099
ok 16 - -1 => 0/12/30
ok 17 - 0/12/30 => -1
ok 18 - 1 => 1/1/1
ok 19 - 1/1/1 => 1
ok 20 - 2796 => 8/8/27
ok 21 - 8/8/27 => 2796
ok 22 - 103605 => 284/8/29
ok 23 - 284/8/29 => 103605
ok 24 - 226896 => 622/3/22
ok 25 - 622/3/22 => 226896
ok 26 - 227015 => 622/7/19
ok 27 - 622/7/19 => 227015
ok 28 - 654415 => 1792/9/22
ok 29 - 1792/9/22 => 654415
ok 30 - 673222 => 1844/3/21
ok 31 - 1844/3/21 => 673222
ok 32 - -4797/-33/1 => -1753469 (normalization)
ok 33 - -4803/39/1 => -1753469 (normalization)
ok 34 - -4796/-34/28 => -1753105 (normalization)
ok 35 - -4802/38/28 => -1753105 (normalization)
# this may take a minute...
ok 36 - greg torture test
1..36
ok
t/10subtract......ok 1 - use Date::ICal;
ok 2 - Total \# of days
ok 3 - Weeks
ok 4 - Days
ok 5 - Hours
ok 6 - Min
ok 7 - Sec
ok 8 - Duration
ok 9 - Defined
ok 10 - Subtract and get the right thing
ok 11 - Defined
ok 12 - Subtract and get the right thing
ok 13 - Negative duration, days
ok 14 - Weeks
ok 15 - Days
ok 16 - Hours
ok 17 - Min
ok 18 - Sec
ok 19 - Duration
ok 20 - Zero duration
ok 21 - Just checking
1..21
ok
t/11duration......ok 1 - use Date::ICal::Duration;
ok 2 - weeks() exists
ok 3 - days() exists
ok 4 - hours() exists
ok 5 - minutes() exists
ok 6 - seconds() exists
ok 7 - as_ical() exists
ok 8 - as_seconds() exists
ok 9 - as_elements() exists
ok 10 - new() with no arguments gives undef
ok 11 - string PT1H parses okay
ok 12 - string P3DT1H parses okay
ok 13 - string P1W2DT3H4M5S parses okay
ok 14 - new() with seconds only outputs correctly as_seconds
ok 15 - new() with seconds only outputs correctly as_ical
ok 16 - Internals: nsecs is being set
ok 17 - Internals: ndays is being set
ok 18 - Internals: sign is being set
ok 19 - new() with seconds and minutes outputs correctly as_seconds
ok 20 - new() with seconds and minutes outputs correctly as_ical
ok 21 - Simple creation from ical returns a defined object
ok 22 - Internals: nsecs is being set
ok 23 - Internals: ndays is being set
ok 24 - Internals: sign is being set
ok 25 - Simple creation from ical as_ical
ok 26 - Simple creation from ical as_seconds
ok 27 - sign accessor works
ok 28 - weeks accessor works
ok 29 - days accessor works
ok 30 - hours accessor works
ok 31 - minutes accessor works
ok 32 - seconds accessor works
ok 33 - Simple creation from ical as_elements
ok 34 - sign is negative
ok 35 - days is still negative
ok 36 - hours is still negative
ok 37 - minutes is still negative
ok 38 - seconds is still negative
ok 39 - Correct duration string
ok 40 - As days
ok 41 - As seconds
ok 42 - Weeks is undef
1..42
ok
All tests successful.
Files=12, Tests=742, 8 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
Installing C:\cpanrun\build\5-10-0\html\site\lib\Date\ICal.html
Installing C:\cpanrun\build\5-10-0\html\site\lib\Date\ICal\Duration.html
Installing C:\cpanrun\build\5-10-0\site\lib\Date\ICal.pm
Installing C:\cpanrun\build\5-10-0\site\lib\Date\ICal\Duration.pm
Appending installation info to C:\cpanrun\build\5-10-0\lib/perllocal.pod