Nicolas Cannasse 14 年之前
父節點
當前提交
1327210e61
共有 1 個文件被更改,包括 2 次插入10 次删除
  1. 2 10
      std/Date.hx

+ 2 - 10
std/Date.hx

@@ -102,16 +102,8 @@ extern class Date
 	**/
 	static function fromString( s : String ) : Date;
 
-	#if flash_lite
-	/** flash lite only **/
-	function getLocaleLongDate():String;
-	/** flash lite only **/
-	function getLocaleShortDate():String;
-	/** flash lite only **/
-	function getLocaleTime():String;
-	#end
-
-#if !(php || neko || cpp)
+
+#if (js || flash)
 	private static function __init__() : Void untyped {
 		var d #if !swf_mark : Dynamic #end = Date;
 		d.now = function() {