Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.commons.lang.time
Class FastDateFormat.UnpaddedNumberField  view FastDateFormat.UnpaddedNumberField download FastDateFormat.UnpaddedNumberField.java

java.lang.Object
  extended byorg.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.


Field Summary
(package private) static FastDateFormat.UnpaddedNumberField INSTANCE_YEAR
           
private  int mField
           
 
Constructor Summary
(package private) FastDateFormat.UnpaddedNumberField(int field)
           
 
Method Summary
 void appendTo(java.lang.StringBuffer buffer, java.util.Calendar calendar)
           
 void appendTo(java.lang.StringBuffer buffer, int value)
           
 int estimateLength()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE_YEAR

static final FastDateFormat.UnpaddedNumberField INSTANCE_YEAR

mField

private final int mField
Constructor Detail

FastDateFormat.UnpaddedNumberField

FastDateFormat.UnpaddedNumberField(int field)
Method Detail

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