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
ConstructorsModifierConstructorDescriptionprivate
JavaDateTimeFormatter
(String pattern, Locale locale, TimeZone timeZone) -
Method Summary
Modifier and TypeMethodDescriptionvoid
format
(Instant instant, StringBuilder stringBuilder) private void
formatInstant
(Instant instant, StringBuilder stringBuilder) private void
formatMutableInstant
(MutableInstant instant, StringBuilder stringBuilder) Class
<?> boolean
isInstantMatching
(Instant instant1, Instant instant2)
-
Field Details
-
formatter
-
mutableInstant
-
-
Constructor Details
-
JavaDateTimeFormatter
-
-
Method Details
-
getInternalImplementationClass
- Specified by:
getInternalImplementationClass
in interfaceInstantFormatter.Formatter
-
format
- Specified by:
format
in interfaceInstantFormatter.Formatter
-
formatMutableInstant
-
formatInstant
-
isInstantMatching
- Specified by:
isInstantMatching
in interfaceInstantFormatter.Formatter
-