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

io.github.threetenjaxb.core.OffsetTimeXmlAdapter Maven / Gradle / Ivy

The newest version!
package io.github.threetenjaxb.core;

import java.time.OffsetTime;
import java.time.format.DateTimeFormatter;

/**
 * {@code XmlAdapter} mapping JSR-310 {@code OffsetTime} to ISO-8601 string
 * 

* String format details: {@link java.time.format.DateTimeFormatter#ISO_OFFSET_TIME} *

* This adapter is suitable for {@code xsd:time} types. * * @see jakarta.xml.bind.annotation.adapters.XmlAdapter * @see java.time.OffsetTime */ public class OffsetTimeXmlAdapter extends TemporalAccessorXmlAdapter { public OffsetTimeXmlAdapter() { super(DateTimeFormatter.ISO_OFFSET_TIME, OffsetTime::from); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy