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

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

private static class FastDateFormat.TwoDigitYearField
extends java.lang.Object
implements FastDateFormat.NumberRule

Inner class to output a two digit year.


Field Summary
(package private) static FastDateFormat.TwoDigitYearField INSTANCE
           
 
Constructor Summary
(package private) FastDateFormat.TwoDigitYearField()
           
 
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

static final FastDateFormat.TwoDigitYearField INSTANCE
Constructor Detail

FastDateFormat.TwoDigitYearField

FastDateFormat.TwoDigitYearField()
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