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

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

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

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

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

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





© 2015 - 2025 Weber Informatics LLC | Privacy Policy