Browse Source

updated - still incomplete

Nicolas Cannasse 19 years ago
parent
commit
75dc6828fa
1 changed files with 3 additions and 6 deletions
  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;
 }