Bug 791962 - Time API: Clean up the usage comment in nsIDOMTimeManager (s/seconds/milliseconds). rs=mounir DONTBUILD

This commit is contained in:
Gene Lian 2012-09-18 22:38:06 +08:00
parent 0d9ed76acd
commit 9f4b1a22c2

View File

@ -11,9 +11,9 @@ interface nsIDOMMozTimeManager : nsISupports
*
* The |time| argument can be either a Date object or a number.
*
* - If |time| is a number, it's interpreted as seconds since the epoch
* (midnight UTC on January 1, 1970)
* - If |time| is a Date object, |set(time)| is equivalent to
* - If |time| is a number, it's interpreted as milliseconds
* since the epoch (midnight UTC on January 1, 1970).
* - If |time| is a Date object, |set(time)| is equivalent to
* |set(time.getTime())|.
*/
[implicit_jscontext] void set(in jsval time);