![JAR search and dependency download from the Maven repository](/logo.png)
cn.featherfly.conversion.string.format.LocalDateFormatConvertor Maven / Gradle / Ivy
package cn.featherfly.conversion.string.format;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import cn.featherfly.conversion.string.basic.LocalDateConvertor;
/**
*
* LocalDate类转换器
*
*
* @author 钟冀
*/
public class LocalDateFormatConvertor extends AbstractLocalDateTimeFormatConvertor {
/**
*/
public LocalDateFormatConvertor() {
super(new LocalDateConvertor());
}
/**
* {@inheritDoc}
*/
@Override
protected LocalDate convert(String value, DateTimeFormatter formatter) {
return LocalDate.parse(value, formatter);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy