DatatypeFactory.newGregorianCalendar() method creates an uninitialized XMLGregorianCalendar object, and there's not convenient way to fill the XMLGregorianCalendar object with the current time.
Such a factory method should be provided.
In fact newXMLGregorianCalendar(new GregorianCalendar()) already satisfies the
requesed feature. The submitter concurs.
Such a factory method should be provided.
In fact newXMLGregorianCalendar(new GregorianCalendar()) already satisfies the
requesed feature. The submitter concurs.
- relates to
-
JDK-6466177 DatatypeFactory is poorly designed, and promotes bad code
-
- Open
-