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

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

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

Inner class to output a constant string.


Field Summary
private  java.lang.String mValue
           
 
Constructor Summary
(package private) FastDateFormat.StringLiteral(java.lang.String value)
           
 
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

mValue

private final java.lang.String mValue
Constructor Detail

FastDateFormat.StringLiteral

FastDateFormat.StringLiteral(java.lang.String value)
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