parent
e406fe3645
commit
f96b13e3b9
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue