Package railo.runtime.functions.system

Source Code of railo.runtime.functions.system.SessionStartTime

package railo.runtime.functions.system;

import railo.runtime.PageContext;
import railo.runtime.exp.PageException;
import railo.runtime.ext.function.Function;
import railo.runtime.type.dt.DateTime;
import railo.runtime.type.dt.DateTimeImpl;

public class SessionStartTime implements Function {

  private static final long serialVersionUID = -3620067950402419075L;

  public static DateTime call(PageContext pc) throws PageException {
    return new DateTimeImpl(pc.sessionScope().getCreated(),false);
  }
}
TOP

Related Classes of railo.runtime.functions.system.SessionStartTime

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.