Ported r2480 from ZXing

Original commit message: "Issue 1417 support VEVENT DURATION property"