Fix
This commit is contained in:
parent
f8d7aa755e
commit
5b1ac27b12
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue