@@ -0,0 +1,777 @@
+package ch.sportchef.business.adapter;%0A%0Aimport javax.xml.bind.annotation.adapters.XmlAdapter;%0Aimport java.time.LocalDate;%0A%0Apublic class LocalDateAdapter extends XmlAdapter%3CString, LocalDate%3E %7B%0A%0A    @Override%0A    public String marshal(final LocalDate localDate) throws Exception %7B%0A        return String.format(%22%25s-%25s-%25s%22,%0A                localDate.getYear(), localDate.getMonth(), localDate.getDayOfMonth());%0A    %7D%0A%0A    @Override%0A    public LocalDate unmarshal(final String string) throws Exception %7B%0A        final String%5B%5D data = string.split(%22%5C%5C-%22);%0A        final int year = Integer.parseInt(data%5B0%5D);%0A        final int month = Integer.parseInt(data%5B1%5D);%0A        final int dayOfMonth = Integer.parseInt(data%5B2%5D);%0A        return LocalDate.of(year, month, dayOfMonth);%0A    %7D%0A%0A%7D%0A

create adapter to (de)serialize LocalDate instances