Class InstantFormatter.JavaDateTimeFormatter
java.lang.Object
org.apache.logging.log4j.layout.template.json.util.InstantFormatter.JavaDateTimeFormatter
- All Implemented Interfaces:
InstantFormatter.Formatter
- Enclosing class:
InstantFormatter
private static final class InstantFormatter.JavaDateTimeFormatter
extends Object
implements InstantFormatter.Formatter
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateJavaDateTimeFormatter(String pattern, Locale locale, TimeZone timeZone) -
Method Summary
Modifier and TypeMethodDescriptionvoidformat(Instant instant, StringBuilder stringBuilder) private voidformatInstant(Instant instant, StringBuilder stringBuilder) private voidformatMutableInstant(MutableInstant instant, StringBuilder stringBuilder) Class<?> booleanisInstantMatching(Instant instant1, Instant instant2)
-
Field Details
-
formatter
-
mutableInstant
-
-
Constructor Details
-
JavaDateTimeFormatter
-
-
Method Details
-
getInternalImplementationClass
- Specified by:
getInternalImplementationClassin interfaceInstantFormatter.Formatter
-
format
- Specified by:
formatin interfaceInstantFormatter.Formatter
-
formatMutableInstant
-
formatInstant
-
isInstantMatching
- Specified by:
isInstantMatchingin interfaceInstantFormatter.Formatter
-