harmony 鸿蒙JS API Changes of the Globalization Subsystem

  • 2023-02-03
  • 浏览 (496)

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

Module Class Method/Attribute/Enumeration/Constant Change Type
ohos.i18n Unicode static getType(char: string): string; Added
ohos.i18n Unicode static isUpperCase(char: string): boolean; Added
ohos.i18n Unicode static isLowerCase(char: string): boolean; Added
ohos.i18n Unicode static isLetter(char: string): boolean; Added
ohos.i18n Unicode static isIdeograph(char: string): boolean; Added
ohos.i18n Unicode static isRTL(char: string): boolean; Added
ohos.i18n Unicode static isWhitespace(char: string): boolean; Added
ohos.i18n Unicode static isSpaceChar(char: string): boolean; Added
ohos.i18n Unicode static isDigit(char: string): boolean; Added
ohos.i18n I18NUtil static getDateOrder(locale: string): string; Added
ohos.i18n I18NUtil static unitConvert(fromUnit: UnitInfo, toUnit: UnitInfo, value: number, locale: string, style?: string): string; Added
ohos.i18n Util getDateOrder(locale: string): string; Deleted
ohos.i18n Character getType(char: string): string; Deprecated
ohos.i18n Character isUpperCase(char: string): boolean; Deprecated
ohos.i18n Character isLowerCase(char: string): boolean; Deprecated
ohos.i18n Character isLetter(char: string): boolean; Deprecated
ohos.i18n Character isIdeograph(char: string): boolean; Deprecated
ohos.i18n Character isRTL(char: string): boolean; Deprecated
ohos.i18n Character isWhitespace(char: string): boolean; Deprecated
ohos.i18n Character isSpaceChar(char: string): boolean; Deprecated
ohos.i18n Character isDigit(char: string): boolean; Deprecated
ohos.i18n Util unitConvert(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

0  赞