parent
e406fe3645
commit
f96b13e3b9
|
@ -537,7 +537,7 @@ public abstract class BaseDateTimeType extends PrimitiveType<Date> {
|
||||||
validateValueInRange(theValue, theMinimum, theMaximum);
|
validateValueInRange(theValue, theMinimum, theMaximum);
|
||||||
Calendar cal;
|
Calendar cal;
|
||||||
if (getValue() == null) {
|
if (getValue() == null) {
|
||||||
cal = new GregorianCalendar(0,0,0);
|
cal = new GregorianCalendar();
|
||||||
} else {
|
} else {
|
||||||
cal = getValueAsCalendar();
|
cal = getValueAsCalendar();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue