Package org.apache.commons.lang3.time
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidappendTo(java.lang.Appendable buffer, int value)Appends the specified value to the output buffer based on the rule implementation.-
Methods inherited from interface org.apache.commons.lang3.time.FastDatePrinter.Rule
appendTo, estimateLength
-
-
-
-
Method Detail
-
appendTo
void appendTo(java.lang.Appendable buffer, int value) throws java.io.IOExceptionAppends the specified value to the output buffer based on the rule implementation.- Parameters:
buffer- the output buffervalue- the value to be appended- Throws:
java.io.IOException- if an I/O error occurs
-
-