• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# JS API Changes of the Globalization Subsystem
2
3The table below lists the APIs changes of the globalization subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.
4
5## API Changes
6
7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type|
8|---|---|---|---|
9| ohos.i18n | Unicode  | static getType(char: string): string;                                                                            | Added|
10| ohos.i18n | Unicode  | static isUpperCase(char: string): boolean;                                                                       | Added|
11| ohos.i18n | Unicode  | static isLowerCase(char: string): boolean;                                                                       | Added|
12| ohos.i18n | Unicode  | static isLetter(char: string): boolean;                                                                          | Added|
13| ohos.i18n | Unicode  | static isIdeograph(char: string): boolean;                                                                       | Added|
14| ohos.i18n | Unicode  | static isRTL(char: string): boolean;                                                                             | Added|
15| ohos.i18n | Unicode  | static isWhitespace(char: string): boolean;                                                                      | Added|
16| ohos.i18n | Unicode  | static isSpaceChar(char: string): boolean;                                                                       | Added|
17| ohos.i18n | Unicode  | static isDigit(char: string): boolean;                                                                           | Added|
18| ohos.i18n | I18NUtil | static getDateOrder(locale: string): string;                                                                     | Added|
19| ohos.i18n | I18NUtil | static unitConvert(fromUnit: UnitInfo, toUnit: UnitInfo, value: number, locale: string, style?: string): string; | Added|
20| ohos.i18n | Util | getDateOrder(locale: string): string; | Deleted|
21| ohos.i18n | Character | getType(char: string): string;                                                                            | Deprecated|
22| ohos.i18n | Character | isUpperCase(char: string): boolean;                                                                       | Deprecated|
23| ohos.i18n | Character | isLowerCase(char: string): boolean;                                                                       | Deprecated|
24| ohos.i18n | Character | isLetter(char: string): boolean;                                                                          | Deprecated|
25| ohos.i18n | Character | isIdeograph(char: string): boolean;                                                                       | Deprecated|
26| ohos.i18n | Character | isRTL(char: string): boolean;                                                                             | Deprecated|
27| ohos.i18n | Character | isWhitespace(char: string): boolean;                                                                      | Deprecated|
28| ohos.i18n | Character | isSpaceChar(char: string): boolean;                                                                       | Deprecated|
29| ohos.i18n | Character | isDigit(char: string): boolean;                                                                           | Deprecated|
30| ohos.i18n | Util      | unitConvert(fromUnit: UnitInfo, toUnit: UnitInfo, value: number, locale: string, style?: string): string; | Deprecated|
31