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

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

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

Inner class to output a time zone as a number +/-HHMM or +/-HH:MM.


Field Summary
(package private) static FastDateFormat.TimeZoneNumberRule INSTANCE_COLON
           
(package private) static FastDateFormat.TimeZoneNumberRule INSTANCE_NO_COLON
           
(package private)  boolean mColon
           
 
Constructor Summary
(package private) FastDateFormat.TimeZoneNumberRule(boolean colon)
           
 
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

INSTANCE_COLON

static final FastDateFormat.TimeZoneNumberRule INSTANCE_COLON

INSTANCE_NO_COLON

static final FastDateFormat.TimeZoneNumberRule INSTANCE_NO_COLON

mColon

final boolean mColon
Constructor Detail

FastDateFormat.TimeZoneNumberRule

FastDateFormat.TimeZoneNumberRule(boolean colon)
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