railo.runtime.functions.dateTime
Class DateCompare

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

public final class DateCompare
extends BIF

See Also:
Serialized Form

Constructor Summary
DateCompare()
           
 
Method Summary
static double call(PageContext pc, DateTime left, DateTime right)
           
static double call(PageContext pc, DateTime left, DateTime right, String datepart)
           
 Object invoke(PageContext pc, Object[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateCompare

public DateCompare()
Method Detail

call

public static double call(PageContext pc,
                          DateTime left,
                          DateTime right)
                   throws ExpressionException
Throws:
ExpressionException

call

public static double call(PageContext pc,
                          DateTime left,
                          DateTime right,
                          String datepart)
                   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