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.TextField  view FastDateFormat.TextField download FastDateFormat.TextField.java

java.lang.Object
  extended byorg.apache.commons.lang.time.FastDateFormat.TextField
All Implemented Interfaces:
FastDateFormat.Rule
Enclosing class:
FastDateFormat

private static class FastDateFormat.TextField
extends java.lang.Object
implements FastDateFormat.Rule

Inner class to output one of a set of values.


Field Summary
private  int mField
           
private  java.lang.String[] mValues
           
 
Constructor Summary
(package private) FastDateFormat.TextField(int field, java.lang.String[] values)
           
 
Method Summary
 void appendTo(java.lang.StringBuffer buffer, java.util.Calendar calendar)
           
 int estimateLength()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mField

private final int mField

mValues

private final java.lang.String[] mValues
Constructor Detail

FastDateFormat.TextField

FastDateFormat.TextField(int field,
                         java.lang.String[] values)
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