group.rxcloud.capa.addons.serialzer.date.SimpleDateSerializer Maven / Gradle / Ivy
package group.rxcloud.capa.addons.serialzer.date;
import group.rxcloud.capa.addons.serialzer.value.DateValues;
public class SimpleDateSerializer extends AbstractDateSerializer {
public static final String DATE_PATTERN = "\\d{4}-\\d{2}-\\d{2}\\s\\d{2}{2}:\\d{2}{2}:\\d{2}{2}";
public static final SimpleDateSerializer INSTANCE = new SimpleDateSerializer();
private SimpleDateSerializer() {
super(DateValues.SIMPLE_DATE_FORMAT, DATE_PATTERN, null);
}
}