IRIS Adapter1

IRIS > IRIS XML

Under Development
as of April 11, 2023

Tree


+- root: Adapter1


Flattened

Adapter1

Java Code


package modelsiris;

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

public class Adapter1
    extends XmlAdapter<String, Calendar>
{


    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));
    }

}

© Copyright 2024. All Rights Reserved.