DurationXmlAdapter
simply uses Duration.toString()
https://bugs.openjdk.java.net/browse/JDK-8042456InstantXmlAdapter
, but never omit millis.LocalDateXmlAdapter
, only unparsable values will be unmarshalled to null
DEFAULT_ZONE
XMLStreamWriter
, which uses AutoCloseable
to automaticly close the needed elements.DEFAULT_ZONE
This makes xml bindings independent of system locale.Copyright © 2022. All rights reserved.