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:
@@ -158,3 +158,8 @@ public trait Enumeration<E> {
|
|||||||
open public fun hasMoreElements() : Boolean
|
open public fun hasMoreElements() : Boolean
|
||||||
open public fun nextElement() : E
|
open public fun nextElement() : E
|
||||||
}
|
}
|
||||||
|
|
||||||
|
native
|
||||||
|
public class Date() {
|
||||||
|
public fun getTime() : Int = js.noImpl
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user