Lines Matching refs:time
5 The timing and time module provides APIs for managing the system time.
14 /base/time/time_service
19 ├── services # time service realization
34 | setTime(time : number) : Promise<boolean> | Set the system time (1970-01-01 to…
35 | setTime(time : number, callback : AsyncCallback<boolean>) : void | Set the system time (1970-01-0…
36 | setDate(date: Date, callback: AsyncCallback<boolean>): void; | Set the system time (Date format),…
37 | setDate(date: Date): Promise<boolean> | Set system time (Date format), cal…
38 | setTimezone(timezone: string, callback: AsyncCallback<boolean>): void | Set the system time zone,…
39 | setTimezone(timezone: string): Promise<boolean> | Set the system time zone, Promise …
58 … represented as the system startup time timer (the timer start time cannot be later than the curre…
72 // Set the system time asynchronously with a Promise.
73 var time = 1611081385000;
74 systemTime.setTime(time).then((value) => {
80 // Set the system time asynchronously with a callback.
81 var time = 1611081385000;
82 systemTime.setTime(time, (err, value) => {
118 [time\_time\_service](https://gitee.com/openharmony/time_time_service/tree/master/)