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

org.w3._2001.xmlschema.Adapter1 Maven / Gradle / Ivy

There is a newer version: 1.0.12
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.6 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2023.06.23 at 10:32:49 AM CEST 
//


package org.w3._2001.xmlschema;

import java.time.ZonedDateTime;
import javax.xml.bind.annotation.adapters.XmlAdapter;

public class Adapter1
    extends XmlAdapter
{


    public ZonedDateTime unmarshal(String value) {
        return (java.time.ZonedDateTime.parse(value));
    }

    public String marshal(ZonedDateTime value) {
        return (java.time.format.DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(value));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy