Package | Description |
---|---|
org.apache.logging.log4j.core.util.datetime |
Log4j 2 date formatting classes.
|
Modifier and Type | Class and Description |
---|---|
private static class |
FastDatePrinter.DayInWeekField
Inner class to output the numeric day in week.
|
private static class |
FastDatePrinter.PaddedNumberField
Inner class to output a padded number.
|
private static class |
FastDatePrinter.TwelveHourField
Inner class to output the twelve hour field.
|
private static class |
FastDatePrinter.TwentyFourHourField
Inner class to output the twenty four hour field.
|
private static class |
FastDatePrinter.TwoDigitMonthField
Inner class to output a two digit month.
|
private static class |
FastDatePrinter.TwoDigitNumberField
Inner class to output a two digit number.
|
private static class |
FastDatePrinter.TwoDigitYearField
Inner class to output a two digit year.
|
private static class |
FastDatePrinter.UnpaddedMonthField
Inner class to output an unpadded month.
|
private static class |
FastDatePrinter.UnpaddedNumberField
Inner class to output an unpadded number.
|
private static class |
FastDatePrinter.WeekYear
Inner class to output the numeric day in week.
|
Modifier and Type | Field and Description |
---|---|
private FastDatePrinter.NumberRule |
FastDatePrinter.TwelveHourField.mRule |
private FastDatePrinter.NumberRule |
FastDatePrinter.TwentyFourHourField.mRule |
private FastDatePrinter.NumberRule |
FastDatePrinter.DayInWeekField.mRule |
private FastDatePrinter.NumberRule |
FastDatePrinter.WeekYear.mRule |
Modifier and Type | Method and Description |
---|---|
protected FastDatePrinter.NumberRule |
FastDatePrinter.selectNumberRule(int field,
int padding)
Gets an appropriate rule for the padding required.
|
Constructor and Description |
---|
DayInWeekField(FastDatePrinter.NumberRule rule) |
TwelveHourField(FastDatePrinter.NumberRule rule)
Constructs an instance of
TwelveHourField with the specified
NumberRule . |
TwentyFourHourField(FastDatePrinter.NumberRule rule)
Constructs an instance of
TwentyFourHourField with the specified
NumberRule . |
WeekYear(FastDatePrinter.NumberRule rule) |