فهرست منبع

updated - still incomplete

Nicolas Cannasse 19 سال پیش
والد
کامیت
75dc6828fa
1فایلهای تغییر یافته به همراه3 افزوده شده و 6 حذف شده
  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;
 }