All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.elnarion.xwiki.rest.model.jaxb.Adapter1 Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2021.04.18 at 06:54:28 PM CEST 
//


package de.elnarion.xwiki.rest.model.jaxb;

import java.util.Calendar;
import javax.xml.bind.annotation.adapters.XmlAdapter;

public class Adapter1
    extends XmlAdapter
{


    public Calendar unmarshal(String value) {
        return (javax.xml.bind.DatatypeConverter.parseDateTime(value));
    }

    public String marshal(Calendar value) {
        if (value == null) {
            return null;
        }
        return (javax.xml.bind.DatatypeConverter.printDateTime(value));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy