001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004// Any modifications to this file will be lost upon recompilation of the source schema. 005// Generated on: 2017.05.21 at 04:43:57 PM EDT 006// 007 008 009package org.dcm4che3.audit; 010 011import java.util.Calendar; 012import javax.xml.bind.annotation.adapters.XmlAdapter; 013 014public class Adapter1 015 extends XmlAdapter<String, Calendar> 016{ 017 018 019 public Calendar unmarshal(String value) { 020 return (javax.xml.bind.DatatypeConverter.parseDateTime(value)); 021 } 022 023 public String marshal(Calendar value) { 024 if (value == null) { 025 return null; 026 } 027 return (javax.xml.bind.DatatypeConverter.printDateTime(value)); 028 } 029 030}