org.modelmapper.module.jsr310.Jsr310ModuleConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of modelmapper-module-jsr310 Show documentation
Show all versions of modelmapper-module-jsr310 Show documentation
ModelMapper Module for JSR310
package org.modelmapper.module.jsr310;
import java.time.ZoneId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* Config for {@link Jsr310Module}
*
* @author Chun Han Hsiao
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Jsr310ModuleConfig {
private static final String DEFAULT_DATE_PATTERN = "yyyy-MM-dd";
private static final String DEFAULT_DATE_TIME_PATTERN = "yyyy-MM-dd HH:mm:ss";
private static final String DEFAULT_TIME_PATTERN = "HH:mm:ss";
@Builder.Default
private String datePattern = DEFAULT_DATE_PATTERN;
@Builder.Default
private String dateTimePattern = DEFAULT_DATE_TIME_PATTERN;
@Builder.Default
private String timePattern = DEFAULT_TIME_PATTERN;
@Builder.Default
private ZoneId zoneId = ZoneId.systemDefault();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy