org.chenillekit.tapestry.core.components
Class DateFormat

java.lang.Object
  extended by org.chenillekit.tapestry.core.components.DateFormat

public class DateFormat
extends Object

Formats a Date object with the given pattern.

The given html tag sourrunds the formatted date value end the optional parameter bodyPosition shifts the tag body to the left or right side, or discarded it.

Version:
$Id: DateFormat.java 619 2010-02-23 23:41:40Z homburgs $

Field Summary
static int BODY_POS_LEFT
          shift body to left
static int BODY_POS_NONE
          discard body
static int BODY_POS_RIGHT
          shift body to right
 
Constructor Summary
DateFormat()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BODY_POS_NONE

public static int BODY_POS_NONE
discard body


BODY_POS_LEFT

public static int BODY_POS_LEFT
shift body to left


BODY_POS_RIGHT

public static int BODY_POS_RIGHT
shift body to right

Constructor Detail

DateFormat

public DateFormat()


Copyright © 2008-2010 ChenilleKit. All Rights Reserved.