railo.runtime.functions.displayFormatting
Class DateTimeFormat

java.lang.Object
  extended by railo.runtime.functions.BIF
      extended by railo.runtime.functions.displayFormatting.DateTimeFormat
All Implemented Interfaces:
Serializable, Function

public final class DateTimeFormat
extends BIF

Implements the CFML Function dateformat

See Also:
Serialized Form

Field Summary
static String DEFAULT_MASK
           
 
Constructor Summary
DateTimeFormat()
           
 
Method Summary
static String call(PageContext pc, Object object)
           
static String call(PageContext pc, Object object, String mask)
           
static String call(PageContext pc, Object object, String mask, String strTimezone)
           
 Object invoke(PageContext pc, Object[] args)
           
static String invoke(PageContext pc, Object object, String mask, Locale locale, TimeZone tz)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MASK

public static final String DEFAULT_MASK
See Also:
Constant Field Values
Constructor Detail

DateTimeFormat

public DateTimeFormat()
Method Detail

call

public static String call(PageContext pc,
                          Object object)
                   throws ExpressionException
Parameters:
pc -
object -
Returns:
Formated Time Object as String
Throws:
ExpressionException

call

public static String call(PageContext pc,
                          Object object,
                          String mask)
                   throws ExpressionException
Parameters:
pc -
object -
mask - Characters that show how CFML displays a date:
Returns:
Formated Time Object as String
Throws:
ExpressionException

call

public static String call(PageContext pc,
                          Object object,
                          String mask,
                          String strTimezone)
                   throws ExpressionException
Throws:
ExpressionException

invoke

public static String invoke(PageContext pc,
                            Object object,
                            String mask,
                            Locale locale,
                            TimeZone tz)
                     throws ExpressionException
Throws:
ExpressionException

invoke

public Object invoke(PageContext pc,
                     Object[] args)
              throws PageException
Specified by:
invoke in class BIF
Throws:
PageException


Copyright © 2012 Railo