# JS API Changes of the Globalization Subsystem The table below lists the APIs changes of the globalization subsystem in OpenHarmony 3.2 Beta1 over OpenHarmony 3.1 Release. ## API Changes | Module| Class| Method/Attribute/Enumeration/Constant| Change Type| |---|---|---|---| | DeviceSettingsManager | DeviceSettingsManager | setDateTime(admin: Want, time: number, callback: AsyncCallback\): void;
setDateTime(admin: Want, time: number): Promise\; | Added| | ohos.enterpriseDeviceManager | enterpriseDeviceManager | getDeviceSettingsManager(callback: AsyncCallback\): void;
getDeviceSettingsManager(): Promise\; | Added| | ohos.enterpriseDeviceManager | enterpriseDeviceManager | isSuperAdmin(bundleName: String, callback: AsyncCallback\): void;
isSuperAdmin(bundleName: String): Promise\; | Added| | ohos.enterpriseDeviceManager | enterpriseDeviceManager | setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo, callback: AsyncCallback\): void;
setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo): Promise\; | Added| | ohos.enterpriseDeviceManager | enterpriseDeviceManager | getEnterpriseInfo(admin: Want, callback: AsyncCallback\): void;
getEnterpriseInfo(admin: Want): Promise\; | Added| | ohos.enterpriseDeviceManager | enterpriseDeviceManager | isAdminAppActive(admin: Want, callback: AsyncCallback\): void;
isAdminAppActive(admin: Want): Promise\; | Added| | ohos.enterpriseDeviceManager | enterpriseDeviceManager | deactivateSuperAdmin(bundleName: String, callback: AsyncCallback\): void;
deactivateSuperAdmin(bundleName: String): Promise\; | Added| | ohos.enterpriseDeviceManager | enterpriseDeviceManager | deactivateAdmin(admin: Want, callback: AsyncCallback\): void;
deactivateAdmin(admin: Want): Promise\; | Added| | ohos.enterpriseDeviceManager | enterpriseDeviceManager | activateAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, callback: AsyncCallback\): void;
activateAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType): Promise\; | Added| | ohos.enterpriseDeviceManager | AdminType | ADMIN_TYPE_SUPER = 0x01 | Added| | ohos.enterpriseDeviceManager | AdminType | ADMIN_TYPE_NORMAL = 0x00 | Added| | ohos.enterpriseDeviceManager | EnterpriseInfo | description: string; | Added| | ohos.enterpriseDeviceManager | EnterpriseInfo | name: string; | Added| | ohos.i18n | i18n | getAppPreferredLanguage(): string; | Added| | ohos.resourceManager | ResourceManager | getNumberByName(resName: string): number; | Added| | ohos.resourceManager | ResourceManager | getNumber(resId: number): number; | Added| | ohos.resourceManager | ResourceManager | getBooleanByName(resName: string): boolean; | Added| | ohos.resourceManager | ResourceManager | getBoolean(resId: number): boolean; | Added| | ohos.resourceManager | ResourceManager | getStringByNameSync(resName: string): string; | Added| | ohos.resourceManager | ResourceManager | getStringSync(resId: number): string; | Added| | ohos.resourceManager | ResourceManager | getPluralStringByName(resName: string, num: number, callback: AsyncCallback\): void;
getPluralStringByName(resName: string, num: number): Promise\; | Added| | ohos.resourceManager | ResourceManager | getMediaBase64ByName(resName: string, callback: AsyncCallback\): void;
getMediaBase64ByName(resName: string): Promise\; | Added| | ohos.resourceManager | ResourceManager | getMediaByName(resName: string, callback: AsyncCallback\): void;
getMediaByName(resName: string): Promise\; | Added| | ohos.resourceManager | ResourceManager | getStringArrayByName(resName: string, callback: AsyncCallback\>): void;
getStringArrayByName(resName: string): Promise\>; | Added| | ohos.resourceManager | ResourceManager | getStringByName(resName: string, callback: AsyncCallback\): void;
getStringByName(resName: string): Promise\; | Added|