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:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user