net.sourceforge.blogentis.utils.tools
Class DateFormatterTool

java.lang.Object
  extended bynet.sourceforge.blogentis.utils.tools.DateFormatterTool
All Implemented Interfaces:
org.apache.turbine.services.pull.ApplicationTool

public class DateFormatterTool
extends java.lang.Object
implements org.apache.turbine.services.pull.ApplicationTool


Field Summary
protected static java.text.DateFormat mfDate
           
protected static java.text.DateFormat mfFull
           
protected static java.text.DateFormat mfTime
           
 
Constructor Summary
DateFormatterTool()
           
 
Method Summary
 java.lang.String format(java.lang.String format, java.lang.Object o)
           
 java.lang.String formatDate(java.lang.Object o)
           
 java.lang.String formatDateTime(java.lang.Object o)
           
 java.lang.String formatTime(java.lang.Object o)
           
 void init(java.lang.Object data)
           
 void refresh()
           
 java.util.List sortByDate(java.util.List l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mfTime

protected static java.text.DateFormat mfTime

mfDate

protected static java.text.DateFormat mfDate

mfFull

protected static java.text.DateFormat mfFull
Constructor Detail

DateFormatterTool

public DateFormatterTool()
Method Detail

init

public void init(java.lang.Object data)
Specified by:
init in interface org.apache.turbine.services.pull.ApplicationTool

refresh

public void refresh()
Specified by:
refresh in interface org.apache.turbine.services.pull.ApplicationTool

formatTime

public java.lang.String formatTime(java.lang.Object o)

formatDate

public java.lang.String formatDate(java.lang.Object o)

formatDateTime

public java.lang.String formatDateTime(java.lang.Object o)

format

public java.lang.String format(java.lang.String format,
                               java.lang.Object o)

sortByDate

public java.util.List sortByDate(java.util.List l)


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.