private static class FastDatePrinter.UnpaddedMonthField extends java.lang.Object implements FastDatePrinter.NumberRule
Inner class to output an unpadded month.
Modifier and Type | Field and Description |
---|---|
(package private) static FastDatePrinter.UnpaddedMonthField |
INSTANCE |
Constructor and Description |
---|
UnpaddedMonthField()
Constructs an instance of
UnpaddedMonthField . |
Modifier and Type | Method and Description |
---|---|
void |
appendTo(java.lang.Appendable buffer,
java.util.Calendar calendar)
Appends the value of the specified calendar to the output buffer based on the rule implementation.
|
void |
appendTo(java.lang.Appendable buffer,
int value)
Appends the specified value to the output buffer based on the rule implementation.
|
int |
estimateLength()
Returns the estimated length of the result.
|
static final FastDatePrinter.UnpaddedMonthField INSTANCE
UnpaddedMonthField()
UnpaddedMonthField
.public int estimateLength()
estimateLength
in interface FastDatePrinter.Rule
public void appendTo(java.lang.Appendable buffer, java.util.Calendar calendar) throws java.io.IOException
appendTo
in interface FastDatePrinter.Rule
buffer
- the output buffercalendar
- calendar to be appendedjava.io.IOException
public final void appendTo(java.lang.Appendable buffer, int value) throws java.io.IOException
appendTo
in interface FastDatePrinter.NumberRule
buffer
- the output buffervalue
- the value to be appendedjava.io.IOException