Package railo.runtime.type.dt

Examples of railo.runtime.type.dt.TimeImpl


import railo.runtime.type.dt.DateTime;
import railo.runtime.type.dt.TimeImpl;

public final class CreateODBCTime implements Function {
  public static DateTime call(PageContext pc , DateTime datetime) {
    return new TimeImpl(datetime);
  }
View Full Code Here


 

  private static DateTime _call(PageContext pc , double hour, double minute, double second,double millis,TimeZone tz) {
    // TODO check this looks wrong
    if(tz==null)tz=ThreadLocalPageContext.getTimeZone(pc);
    return new TimeImpl(
        DateTimeUtil.getInstance().toTime(tz,1899,12,30,(int)hour,(int)minute,(int)second,(int)millis,0)
        ,false);
  }
View Full Code Here

TOP

Related Classes of railo.runtime.type.dt.TimeImpl

Copyright © 2018 www.massapicom. 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.