openharmony 鸿蒙 js-apidiff-global

2023-02-03 浏览 (617)

JS API Changes of the Globalization Subsystem

The table below lists the APIs changes of the globalization subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.

API Changes

ModuleClassMethod/Attribute/Enumeration/ConstantChange Type
ohos.i18nUnicodestatic getType(char: string): string;Added
ohos.i18nUnicodestatic isUpperCase(char: string): boolean;Added
ohos.i18nUnicodestatic isLowerCase(char: string): boolean;Added
ohos.i18nUnicodestatic isLetter(char: string): boolean;Added
ohos.i18nUnicodestatic isIdeograph(char: string): boolean;Added
ohos.i18nUnicodestatic isRTL(char: string): boolean;Added
ohos.i18nUnicodestatic isWhitespace(char: string): boolean;Added
ohos.i18nUnicodestatic isSpaceChar(char: string): boolean;Added
ohos.i18nUnicodestatic isDigit(char: string): boolean;Added
ohos.i18nI18NUtilstatic getDateOrder(locale: string): string;Added
ohos.i18nI18NUtilstatic unitConvert(fromUnit: UnitInfo, toUnit: UnitInfo, value: number, locale: string, style?: string): string;Added
ohos.i18nUtilgetDateOrder(locale: string): string;Deleted
ohos.i18nCharactergetType(char: string): string;Deprecated
ohos.i18nCharacterisUpperCase(char: string): boolean;Deprecated
ohos.i18nCharacterisLowerCase(char: string): boolean;Deprecated
ohos.i18nCharacterisLetter(char: string): boolean;Deprecated
ohos.i18nCharacterisIdeograph(char: string): boolean;Deprecated
ohos.i18nCharacterisRTL(char: string): boolean;Deprecated
ohos.i18nCharacterisWhitespace(char: string): boolean;Deprecated
ohos.i18nCharacterisSpaceChar(char: string): boolean;Deprecated
ohos.i18nCharacterisDigit(char: string): boolean;Deprecated
ohos.i18nUtilunitConvert(fromUnit: UnitInfo, toUnit: UnitInfo, value: number, locale: string, style?: string): string;Deprecated

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

harmony 鸿蒙JS API Changes of the Ability Framework

harmony 鸿蒙JS API Changes of the Accessibility Subsystem

harmony 鸿蒙JS API Changes of the Account Subsystem

harmony 鸿蒙JS API Changes of the ArkUI Development Framework

harmony 鸿蒙JS API Changes of the Power Management Subsystem

harmony 鸿蒙JS API Changes of the Bundle Management Framework

harmony 鸿蒙JS API Changes of the Communication Subsystem

harmony 鸿蒙JS API Changes of the Compiler and Runtime Subsystem

harmony 鸿蒙JS API Changes of the DFX Subsystem

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/427b1f840b44478582ff91e8c6aa3f59