Adapter1.java
- //
- // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference
- // Implementation, v2.2.8-b130911.1802
- // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
- // Any modifications to this file will be lost upon recompilation of the source schema.
- // Generated on: 2018.12.31 at 10:32:54 AM CET
- //
- package nl.b3p.topnl.top50nl;
- import java.util.Calendar;
- import javax.xml.bind.annotation.adapters.XmlAdapter;
- public class Adapter1 extends XmlAdapter<String, Calendar> {
- @Override
- public Calendar unmarshal(String value) {
- return (javax.xml.bind.DatatypeConverter.parseDateTime(value));
- }
- @Override
- public String marshal(Calendar value) {
- if (value == null) {
- return null;
- }
- return (javax.xml.bind.DatatypeConverter.printDateTime(value));
- }
- }