Interface FastDatePrinter.NumberRule
- All Superinterfaces:
FastDatePrinter.Rule
- All Known Implementing Classes:
FastDatePrinter.DayInWeekField,FastDatePrinter.PaddedNumberField,FastDatePrinter.TwelveHourField,FastDatePrinter.TwentyFourHourField,FastDatePrinter.TwoDigitMonthField,FastDatePrinter.TwoDigitNumberField,FastDatePrinter.TwoDigitYearField,FastDatePrinter.UnpaddedMonthField,FastDatePrinter.UnpaddedNumberField,FastDatePrinter.WeekYear
- Enclosing class:
FastDatePrinter
Inner class defining a numeric rule.
-
Field Summary
Fields inherited from interface org.apache.logging.log4j.core.util.datetime.FastDatePrinter.Rule
EMPTY_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionvoidappendTo(Appendable buffer, int value) Appends the specified value to the output buffer based on the rule implementation.Methods inherited from interface org.apache.logging.log4j.core.util.datetime.FastDatePrinter.Rule
appendTo, estimateLength
-
Method Details
-
appendTo
Appends the specified value to the output buffer based on the rule implementation.- Parameters:
buffer- the output buffervalue- the value to be appended- Throws:
IOException- if an I/O error occurs
-