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

private static interface FastDatePrinter.NumberRule extends FastDatePrinter.Rule

Inner class defining a numeric rule.

Since:
Apache Commons Lang 3.2
  • Method Details

    • appendTo

      void appendTo(Appendable buffer, int value) throws IOException
      Appends the specified value to the output buffer based on the rule implementation.
      Parameters:
      buffer - the output buffer
      value - the value to be appended
      Throws:
      IOException - if an I/O error occurs