railo.runtime.functions.dateTime
Class DateDiff

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

public final class DateDiff
extends Object
implements Function

See Also:
Serialized Form

Constructor Summary
DateDiff()
           
 
Method Summary
static double call(PageContext pc, String datePart, DateTime left, DateTime right)
           
static long diffSeconds(long msLeft, long msRight)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateDiff

public DateDiff()
Method Detail

call

public static double call(PageContext pc,
                          String datePart,
                          DateTime left,
                          DateTime right)
                   throws ExpressionException
Parameters:
pc -
s -
date -
date1 -
Returns:
Throws:
ExpressionException

diffSeconds

public static long diffSeconds(long msLeft,
                               long msRight)


Copyright © 2012 Railo