Package railo.runtime.type.dt

Examples of railo.runtime.type.dt.DateTime.toDoubleValue()


public final class GetNumericDate implements Function {
  public static double call(PageContext pc , Object object) throws PageException {
        DateTime date = Caster.toDate(object,true,pc.getTimeZone(),null);
        if(date==null) date=Caster.toDate(object,pc.getTimeZone());
       
    return date.toDoubleValue();
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.