org.apache.commons.betwixt.introspection
Class DateFormatterBean

java.lang.Object
  extended by org.apache.commons.betwixt.introspection.DateFormatterBean

public class DateFormatterBean
extends java.lang.Object

Version:
$Revision: 561314 $
Author:
Apache Commons Team

Constructor Summary
DateFormatterBean()
           
 
Method Summary
 void addFormat(java.util.Locale locale, java.text.SimpleDateFormat format)
           
 java.lang.String format(java.util.Date date, java.util.Locale locale)
           
 java.util.Map getFormats()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateFormatterBean

public DateFormatterBean()
Method Detail

getFormats

public java.util.Map getFormats()

addFormat

public void addFormat(java.util.Locale locale,
                      java.text.SimpleDateFormat format)

format

public java.lang.String format(java.util.Date date,
                               java.util.Locale locale)


Copyright 2002-2008 The Apache Software Foundation. All Rights Reserved.