Selaa lähdekoodia

updated - still incomplete

Nicolas Cannasse 19 vuotta sitten
vanhempi
commit
75dc6828fa
1 muutettua tiedostoa jossa 3 lisäystä ja 6 poistoa
  1. 3 6
      std/Date.hx

+ 3 - 6
std/Date.hx

@@ -25,14 +25,11 @@
 
 extern class Date
 {
-	function new(year : Int, month : Int, date : Int, hour : Int, min : Int, sec : Int, ms : Int) : Void;
-
-	function getTime() : Int;
-	function setTime(value : Int) : Void;
+	function new(year : Int, month : Int, day : Int, hour : Int, min : Int, sec : Int ) : Void;
+	function getTime() : Float;
 	function toString():String;
 
-	// need to think about the API
-
+	static function now() : Date;
 }