This commit is contained in:
dotasek 2022-08-24 14:54:08 -04:00
parent f8d7aa755e
commit 5b1ac27b12
3 changed files with 3 additions and 3 deletions

View File

@ -537,7 +537,7 @@ public abstract class BaseDateTimeType extends PrimitiveType<Date> {
validateValueInRange(theValue, theMinimum, theMaximum);
Calendar cal;
if (getValue() == null) {
cal = new GregorianCalendar(0, 0, 0);
cal = new GregorianCalendar();
} else {
cal = getValueAsCalendar();
}

View File

@ -544,7 +544,7 @@ public abstract class BaseDateTimeType extends PrimitiveType<Date> {
validateValueInRange(theValue, theMinimum, theMaximum);
Calendar cal;
if (getValue() == null) {
cal = new GregorianCalendar(0, 0, 0);
cal = new GregorianCalendar();
} else {
cal = getValueAsCalendar();
}

View File

@ -544,7 +544,7 @@ public abstract class BaseDateTimeType extends PrimitiveType<Date> {
validateValueInRange(theValue, theMinimum, theMaximum);
Calendar cal;
if (getValue() == null) {
cal = new GregorianCalendar(0, 0, 0);
cal = new GregorianCalendar();
} else {
cal = getValueAsCalendar();
}