code fix
by
mrglavas
:

Fixed bugs in the DatatypeFactory.newDurationDayTime() and
DatatypeFactory.newDurationYearMonth() methods where BigIntegers
were being created for DatatypeConstants.FIELD_UNDEFINED values
instead of assigning the value to null in the Duration.