时间时区接口版本号修改

Signed-off-by: li_junsong <lijunsong4@huawei.com>
This commit is contained in:
li_junsong 2024-11-01 11:09:56 +08:00
parent 6f2cfbb06b
commit 41d92681d2

View File

@ -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;
}