Signed-off-by: 罗博明 <luoboming@huawei.com>
This commit is contained in:
罗博明 2023-06-16 03:56:19 +00:00 committed by Gitee
parent d2f307854a
commit 95655b542c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

4
api/@ohos.i18n.d.ts vendored
View File

@ -397,7 +397,7 @@ declare namespace i18n {
* @syscap SystemCapability.Global.I18n
* @since 8
* @deprecated since 9
* @useinstead ohos.i18n/i18.I18NUtil
* @useinstead ohos.i18n/i18n.I18NUtil
*/
export interface Util {
/**
@ -412,7 +412,7 @@ declare namespace i18n {
* @syscap SystemCapability.Global.I18n
* @since 8
* @deprecated since 9
* @useinstead ohos.i18n/i18.I18NUtil#unitConvert
* @useinstead ohos.i18n/i18n.I18NUtil#unitConvert
*/
unitConvert(fromUnit: UnitInfo, toUnit: UnitInfo, value: number, locale: string, style?: string): string;
}