Class InstantFormatter.Builder
- java.lang.Object
-
- org.apache.logging.log4j.layout.template.json.util.InstantFormatter.Builder
-
- Enclosing class:
- InstantFormatter
public static final class InstantFormatter.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantFormatter
build()
Locale
getLocale()
String
getPattern()
TimeZone
getTimeZone()
InstantFormatter.Builder
setLocale(Locale locale)
InstantFormatter.Builder
setPattern(String pattern)
InstantFormatter.Builder
setTimeZone(TimeZone timeZone)
-
-
-
Method Detail
-
getPattern
public String getPattern()
-
setPattern
public InstantFormatter.Builder setPattern(String pattern)
-
getLocale
public Locale getLocale()
-
setLocale
public InstantFormatter.Builder setLocale(Locale locale)
-
getTimeZone
public TimeZone getTimeZone()
-
setTimeZone
public InstantFormatter.Builder setTimeZone(TimeZone timeZone)
-
build
public InstantFormatter build()
-
-