Interface FastDatePrinter.NumberRule
- All Superinterfaces:
FastDatePrinter.Rule
- All Known Implementing Classes:
FastDatePrinter.PaddedNumberField, FastDatePrinter.TwelveHourField, FastDatePrinter.TwentyFourHourField, FastDatePrinter.TwoDigitMonthField, FastDatePrinter.TwoDigitNumberField, FastDatePrinter.TwoDigitYearField, FastDatePrinter.UnpaddedMonthField, FastDatePrinter.UnpaddedNumberField
- Enclosing class:
FastDatePrinter
Inner class defining a numeric rule.
- Since:
- 3.2
- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptionvoidappendTo(StringBuffer buffer, int value) Appends the specified value to the output buffer based on the rule implementation.Methods inherited from interface 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
-