* @author Mike McCabe
* @author Adam Megacz (many modifications
*/
-public class JSDate extends JSCallable {
+public class JSDate extends JS {
public JSDate() {
if (thisTimeZone == null) {
private static double _toNumber(Object[] o, int index) { return JS.toDouble(o[index]); }
private static double toDouble(double d) { return d; }
+ // FIXME: switch to new calling convention here
public JSDate(JSArray args_) {
Object[] args = new Object[args_.length()];
for(int i=0; i<args.length; i++) args[i] = args_.elementAt(i);