org.apache.xmlrpc
Class Formatter

java.lang.Object
  |
  +--org.apache.xmlrpc.Formatter

class Formatter
extends java.lang.Object

Wraps a DateFormat instance to provide thread safety.


Field Summary
private  java.text.DateFormat f
           
 
Constructor Summary
Formatter()
          Uses the DateFormat string yyyyMMdd'T'HH:mm:ss.
 
Method Summary
 java.lang.String format(java.util.Date d)
           
 java.util.Date parse(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

f

private java.text.DateFormat f
Constructor Detail

Formatter

public Formatter()
Uses the DateFormat string yyyyMMdd'T'HH:mm:ss.
Method Detail

format

public java.lang.String format(java.util.Date d)

parse

public java.util.Date parse(java.lang.String s)
                     throws java.text.ParseException


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.