private static interface FastDatePrinter.Rule
Inner class defining a rule.
Modifier and Type | Method and Description |
---|---|
void |
appendTo(java.lang.Appendable buf,
java.util.Calendar calendar)
Appends the value of the specified calendar to the output buffer based on the rule implementation.
|
int |
estimateLength()
Returns the estimated length of the result.
|
int estimateLength()
void appendTo(java.lang.Appendable buf, java.util.Calendar calendar) throws java.io.IOException
buf
- the output buffercalendar
- calendar to be appendedjava.io.IOException