mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-26 17:00:52 +00:00
时间时区接口版本号修改
Signed-off-by: li_junsong <lijunsong4@huawei.com>
This commit is contained in:
parent
6f2cfbb06b
commit
41d92681d2
4
api/@ohos.systemDateTime.d.ts
vendored
4
api/@ohos.systemDateTime.d.ts
vendored
@ -360,7 +360,7 @@ declare namespace systemDateTime {
|
||||
* @throws { BusinessError } 13000001 - Network connection error or OS error.
|
||||
* @syscap SystemCapability.MiscServices.Time
|
||||
* @systemapi Hide this for inner system use
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
function updateNtpTime(): Promise<void>;
|
||||
|
||||
@ -372,7 +372,7 @@ declare namespace systemDateTime {
|
||||
* @throws { BusinessError } 13000002 - updateNtpTime() is not called successfully.
|
||||
* @syscap SystemCapability.MiscServices.Time
|
||||
* @systemapi Hide this for inner system use
|
||||
* @since 13
|
||||
* @since 14
|
||||
*/
|
||||
function getNtpTime(): number;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user