Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.stats.element
Class DayOfWeekElementFormat

java.lang.Object
  extended by com.jivesoftware.base.stats.element.DayOfWeekElementFormat
All Implemented Interfaces:
ElementFormat

public class DayOfWeekElementFormat
extends java.lang.Object
implements ElementFormat


Constructor Summary
DayOfWeekElementFormat()
          Create a new DayOfWeekElementFormat object with the default format string.
DayOfWeekElementFormat(java.lang.String formatString)
          Create a new DayOfWeekElementFormat object with a specified format string.
 
Method Summary
 java.lang.String format(Element e)
          Format an element and return a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DayOfWeekElementFormat

public DayOfWeekElementFormat(java.lang.String formatString)
Create a new DayOfWeekElementFormat object with a specified format string. The format has the same structure as the format for java.text.SimpleDateFormat.


DayOfWeekElementFormat

public DayOfWeekElementFormat()
Create a new DayOfWeekElementFormat object with the default format string. The default format returns the full name of the given day of the week.

Method Detail

format

public java.lang.String format(Element e)
Format an element and return a String. The element is assumed to wrap the DAY_OF_WEEK number returned by Calendar.

Specified by:
format in interface ElementFormat

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.