Explorar o código

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

Jeff Ward %!s(int64=7) %!d(string=hai) anos
pai
achega
8e8eac065e
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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;