add support for java.util.Date for both JVM and JS back ends (we could maybe introduce a kotlin.Date pseudo type one day)

This commit is contained in:
James Strachan
2012-07-24 14:30:04 +01:00
parent 29bc36b69c
commit 0ccc0de2fe
+5
View File
@@ -157,4 +157,9 @@ library
public trait Enumeration<E> {
open public fun hasMoreElements() : Boolean
open public fun nextElement() : E
}
native
public class Date() {
public fun getTime() : Int = js.noImpl
}