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

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

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

import java.time.LocalTime;
import java.time.format.DateTimeFormatter;

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

* String format details: {@link java.time.format.DateTimeFormatter#ISO_LOCAL_TIME} * * @see jakarta.xml.bind.annotation.adapters.XmlAdapter * @see java.time.LocalTime */ public class LocalTimeXmlAdapter extends TemporalAccessorXmlAdapter { public LocalTimeXmlAdapter() { super(DateTimeFormatter.ISO_LOCAL_TIME, LocalTime::from); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy