MozTimeManager

This API is available on Firefox OS for internal applications only.

 

Summary

The MozTimeManager interface is used to set the system time on a device.

Interface overview

JavaScript
interface MozTimeManager
{
  void set((double or Date) time);
}

Properties

None.

Methods

MozTimeManager.set()
Sets the system time.

Specification

Not part of any specification.

See also

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/moztimemanager

API B2G Firefox OS Non-standard Time