소스 검색

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
 		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;