View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.3-b01-fcs 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2024.01.23 at 07:43:17 PM CET 
6   //
7   
8   
9   package fr.paris.lutece.plugins.address.business.jaxb;
10  
11  import java.util.Calendar;
12  import javax.xml.bind.annotation.adapters.XmlAdapter;
13  
14  public class Adapter1
15      extends XmlAdapter<String, Calendar>
16  {
17  
18  
19      public Calendar unmarshal(String value) {
20          return (javax.xml.bind.DatatypeConverter.parseDateTime(value));
21      }
22  
23      public String marshal(Calendar value) {
24          if (value == null) {
25              return null;
26          }
27          return (javax.xml.bind.DatatypeConverter.printDateTime(value));
28      }
29  
30  }