railo.runtime.functions.dateTime
Class DatePart

java.lang.Object
  extended by railo.runtime.functions.dateTime.DatePart
All Implemented Interfaces:
Serializable, Function

public final class DatePart
extends Object
implements Function

See Also:
Serialized Form

Constructor Summary
DatePart()
           
 
Method Summary
static double call(PageContext pc, String datepart, DateTime date)
           
static double call(PageContext pc, String datepart, DateTime date, String strTimezone)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatePart

public DatePart()
Method Detail

call

public static double call(PageContext pc,
                          String datepart,
                          DateTime date)
                   throws ExpressionException
Throws:
ExpressionException

call

public static double call(PageContext pc,
                          String datepart,
                          DateTime date,
                          String strTimezone)
                   throws ExpressionException
Throws:
ExpressionException


Copyright © 2012 Railo