|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwt.js.JS
org.xwt.js.JS.Obj
org.xwt.js.Date
This class implements the Date native object. See ECMA 15.9.
| Nested Class Summary |
| Nested classes inherited from class org.xwt.js.JS |
JS.Array, JS.Callable, JS.Context, JS.Exn, JS.GlobalScope, JS.Graft, JS.Obj, JS.Scope, JS.TailCall |
| Constructor Summary | |
Date()
|
|
Date(JS.Array args_)
|
|
| Method Summary | |
java.lang.Object |
callMethod(java.lang.Object name,
JS.Array args_,
boolean checkOnly)
|
java.lang.String |
coerceToString()
|
static double |
date_msecFromDate(double year,
double mon,
double mday,
double hour,
double min,
double sec,
double msec)
|
protected java.lang.String |
getIdName(int id)
|
long |
getRawTime()
|
static double |
internalUTC(double t)
|
double |
jsFunction_setTime(double time)
|
protected int |
mapNameToId(java.lang.String s)
|
| Methods inherited from class org.xwt.js.JS.Obj |
get, get, keys, put, put2, setSeal |
| Methods inherited from class org.xwt.js.JS |
coerceToBoolean, coerceToNumber, parse, toBoolean, toDouble, toInt, toLong, toNumber, toString, typeName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Date()
public Date(JS.Array args_)
| Method Detail |
public java.lang.String coerceToString()
coerceToString in class JS
public java.lang.Object callMethod(java.lang.Object name,
JS.Array args_,
boolean checkOnly)
callMethod in class JSpublic static double internalUTC(double t)
public static double date_msecFromDate(double year,
double mon,
double mday,
double hour,
double min,
double sec,
double msec)
public double jsFunction_setTime(double time)
protected java.lang.String getIdName(int id)
protected int mapNameToId(java.lang.String s)
public long getRawTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||