Răsfoiți Sursa

updated - still incomplete

Nicolas Cannasse 19 ani în urmă
părinte
comite
75dc6828fa
1 a modificat fișierele cu 3 adăugiri și 6 ștergeri
  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;
 }