Coverage Report - fr.paris.lutece.plugins.address.business.jaxb.Adapter1
 
Classes in this File Line Coverage Branch Coverage Complexity
Adapter1
0 %
0/5
0 %
0/2
2
 
 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: 2018.04.30 at 04:24:22 PM CEST 
 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  0
 public class Adapter1
 15  
     extends XmlAdapter<String, Calendar>
 16  
 {
 17  
 
 18  
 
 19  
     public Calendar unmarshal(String value) {
 20  0
         return (javax.xml.bind.DatatypeConverter.parseDateTime(value));
 21  
     }
 22  
 
 23  
     public String marshal(Calendar value) {
 24  0
         if (value == null) {
 25  0
             return null;
 26  
         }
 27  0
         return (javax.xml.bind.DatatypeConverter.printDateTime(value));
 28  
     }
 29  
 
 30  
 }