|
|
|
@ -571,10 +571,11 @@ public final class PackagePropertiesPart extends PackagePart implements
|
|
|
|
|
df.setTimeZone(LocaleUtil.TIMEZONE_UTC); |
|
|
|
|
d = df.parse(dateTzStr, new ParsePosition(0)); |
|
|
|
|
} |
|
|
|
|
if (d == null) { |
|
|
|
|
throw new InvalidFormatException("Date " + dateTzStr + " not well formated, " |
|
|
|
|
+ "expected format " + DEFAULT_DATEFORMAT + " or " + ALTERNATIVE_DATEFORMAT); |
|
|
|
|
} |
|
|
|
|
// BI-72094 先解决问题
|
|
|
|
|
// if (d == null) {
|
|
|
|
|
// throw new InvalidFormatException("Date " + dateTzStr + " not well formated, "
|
|
|
|
|
// + "expected format " + DEFAULT_DATEFORMAT + " or " + ALTERNATIVE_DATEFORMAT);
|
|
|
|
|
// }
|
|
|
|
|
return new Nullable<Date>(d); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|