瀏覽代碼

Reference haxe.Timer.stamp from Date.getTime (#7518)

Jeff Ward 7 年之前
父節點
當前提交
8e8eac065e
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      std/Date.hx

+ 3 - 0
std/Date.hx

@@ -53,6 +53,9 @@ extern class Date
 	/**
 	/**
 		Returns the timestamp (in milliseconds) of the date. It might
 		Returns the timestamp (in milliseconds) of the date. It might
 		only have a per-second precision depending on the platforms.
 		only have a per-second precision depending on the platforms.
+
+		For measuring time differences with millisecond accuracy on
+		all platforms, see `haxe.Timer.stamp`.
 	**/
 	**/
 	function getTime() : Float;
 	function getTime() : Float;