projects
/
org.ibex.js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
716ef19
)
added a new ctor for JSDate
author
adam
<adam@megacz.com>
Fri, 18 Feb 2005 08:40:00 +0000
(08:40 +0000)
committer
adam
<adam@megacz.com>
Fri, 18 Feb 2005 08:40:00 +0000
(08:40 +0000)
darcs-hash:
20050218084000
-5007d-
77e19f1631b54753bbf9a98b51522cb97b13739d
.gz
src/org/ibex/js/JSDate.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/js/JSDate.java
b/src/org/ibex/js/JSDate.java
index
19e4fc6
..
324ef68
100644
(file)
--- a/
src/org/ibex/js/JSDate.java
+++ b/
src/org/ibex/js/JSDate.java
@@
-890,6
+890,8
@@
public class JSDate extends JS.Immutable {
private static double _toNumber(JS o) throws JSExn { return JSU.toDouble(o); }
private static double _toNumber(JS[] o, int index) throws JSExn { return JSU.toDouble(o[index]); }
+ public JSDate(long l) throws JSExn { this.date = (double)l; }
+
public JSDate(JS[] args) throws JSExn {
JSDate obj = this;