@@ -0,0 +1,654 @@
+package de.jeha.s3srv.jaxb;%0A%0Aimport javax.xml.bind.annotation.adapters.XmlAdapter;%0Aimport java.time.Instant;%0Aimport java.time.format.DateTimeFormatter;%0A%0A/**%0A * @author jenshadlich@googlemail.com%0A */%0Apublic class InstantXmlAdapter extends XmlAdapter%3CString, Instant%3E %7B%0A%0A    private final DateTimeFormatter formatter = DateTimeFormatter.ISO_INSTANT;%0A%0A    @Override%0A    public Instant unmarshal(String value) throws Exception %7B%0A        return value != null ? formatter.parse(value, Instant::from) : null;%0A    %7D%0A%0A    @Override%0A    public String marshal(Instant value) throws Exception %7B%0A        return value != null ? formatter.format(value) : null;%0A    %7D%0A%0A%7D

add XmlAdapter for java.time.Instant