java.lang.Object
org.apache.commons.lang.time.FastDateFormat.TwoDigitNumberField
- All Implemented Interfaces:
- FastDateFormat.NumberRule, FastDateFormat.Rule
- Enclosing class:
- FastDateFormat
- private static class FastDateFormat.TwoDigitNumberField
- extends java.lang.Object
- implements FastDateFormat.NumberRule
Inner class to output a two digit number.
|
Field Summary |
private int |
mField
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mField
private final int mField
FastDateFormat.TwoDigitNumberField
FastDateFormat.TwoDigitNumberField(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