java.lang.Object
org.apache.commons.lang.time.FastDateFormat.UnpaddedNumberField
- All Implemented Interfaces:
- FastDateFormat.NumberRule, FastDateFormat.Rule
- Enclosing class:
- FastDateFormat
- private static class FastDateFormat.UnpaddedNumberField
- extends java.lang.Object
- implements FastDateFormat.NumberRule
Inner class to output an unpadded number.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE_YEAR
static final FastDateFormat.UnpaddedNumberField INSTANCE_YEAR
mField
private final int mField
FastDateFormat.UnpaddedNumberField
FastDateFormat.UnpaddedNumberField(int field)
estimateLength
public int estimateLength()
- Specified by:
estimateLength in interface FastDateFormat.Rule
appendTo
public void appendTo(java.lang.StringBuffer buffer,
java.util.Calendar calendar)
- Specified by:
appendTo in interface FastDateFormat.Rule
appendTo
public final void appendTo(java.lang.StringBuffer buffer,
int value)
- Specified by:
appendTo in interface FastDateFormat.NumberRule