程序包 ohos.miscservices.timeutility

Provides interfaces for reading and setting the system time and time zone as well as the interfaces for implementing system timers, such as creating and stopping a timer.

For details about timer interfaces, see Timer.

从以下版本开始:
1
跳过导航链接