Package org.apache.logging.log4j.core.util.datetime
package org.apache.logging.log4j.core.util.datetime
Log4j 2 date formatting classes.
-
ClassDescriptionDateParser is the "missing" interface for the parsing methods of
DateFormat
.DatePrinter is the "missing" interface for the format methods ofDateFormat
.FastDateFormat is a fast and thread-safe version ofSimpleDateFormat
.FastDateParser is a fast and thread-safe version ofSimpleDateFormat
.A strategy that handles a text field in the parsing patternA strategy that copies the static or quoted field in the parsing patternA strategy that handles a number field in the parsing patternA strategy to parse a single field from the parsing patternA strategy to parse a single field from the parsing patternHolds strategy and field widthA strategy that handles a timezone field in the parsing patternFastDatePrinter is a fast and thread-safe version ofSimpleDateFormat
.Inner class to output a constant single character.Inner class to output the numeric day in week.Inner class to output a time zone as a number+/-HHMM
or+/-HH:MM
.Inner class defining a numeric rule.Inner class to output a padded number.Inner class defining a rule.Inner class to output a constant string.Inner class to output one of a set of values.Inner class that acts as a compound key for time zone names.Inner class to output a time zone name.Inner class to output a time zone as a number+/-HHMM
or+/-HH:MM
.Inner class to output the twelve hour field.Inner class to output the twenty four hour field.Inner class to output a two digit month.Inner class to output a two digit number.Inner class to output a two digit year.Inner class to output an unpadded month.Inner class to output an unpadded number.Inner class to output the numeric day in week.Custom time formatter that trades flexibility for performance.Enumeration over the supported date/time format patterns.Fixed time zone formats.The basic methods for performing date formatting.FormatCache<F extends Format>FormatCache is a cache and factory forFormat
s.Helper class to hold multi-part Map keys