/ohos5.0/base/global/timezone/ |
H A D | README.md | 5 The time zone module provides the functions of updating, parsing, compiling, and deploying time zon… 9 The directory structure of the time zone module is as follows: 13 ├── timezone # Code repository of the time zone module 14 │ ├── data # Time zone compilation data 15 │ ├── tool # Time zone management tool 16 │ │ ├── compile_tool # Time zone compilation tool 17 │ │ └── update_tool # Time zone update tool 22 …zone update tool searches for the latest version of time zone data from the [Internet Assigned Num… 25 cd tool/update_tool // Go to the directory where the time zone update tool is located. 29 The time zone compilation tool compiles the time zone source data and generates time zone binary da… [all …]
|
/ohos5.0/docs/en/application-dev/internationalization/ |
H A D | i18n-time-zone.md | 5 …zone 0 and China uses time zone GMT+8. The time in China is eight hours earlier than that in the U… 16 …ulating the offset between a fixed time zone and the actual time zone and obtaining and traversing… 18 // Obtain the time zone of Brazil. 26 // Localized time zone name 32 // Fixed offset of the time zone 35 // Actual offset of the time zone (fixed offset + DST) 38 // List of time zone IDs supported by the system 41 // List of time zone city IDs supported by the system 43 // Traverse the list of time zone city IDs. 79 2. Add a time zone to the preferred time zone list of the application. [all …]
|
H A D | i18n-time-zone-display.md | 5 …ons in different ways. Therefore, your application needs to localize time zone names to adapt to l… 16 2. Localize the time zone name, for example, **America/Sao_Paulo**.
|
H A D | i18n-calendar.md | 5 …zone and DST. Therefore, the system should allow users to choose calendars that comply with their … 28 // Set the time zone for the Calendar object. 31 // Obtain the time zone for the Calendar object.
|
H A D | i18n-l10n.md | 7 …zone and DST features. Where, locale-specific features provide access to setting the date and time…
|
H A D | Readme-EN.md | 18 - [Timezone Setting](i18n-time-zone.md) 27 - [Time Zone Name Localization](i18n-time-zone-display.md)
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | _time_service.md | 6 Enables the application to obtain the time and time zone information. 18 | [time_service.h](time__service_8h.md) | Declares the API for obtaining the time and time zone inf… 39 …_timeservice_gettimezone) (char \*timeZone, uint32_t len) | Returns the current system time zone. | 91 Returns the current system time zone. 101 | timeZone | A character array of time zone ID. If the time zone is obtained, the time zone ID stri… 102 | len | Length of a character array of time zone ID without maximum limit. You are advised to apply… 110 **TIMESERVICE_ERR_INVALID_PARAMETER**: The time zone is null or the length of the time zone name (e…
|
H A D | time__service_8h.md | 6 Declares the API for obtaining the time and time zone information. 38 …_timeservice_gettimezone) (char \*timeZone, uint32_t len) | Returns the current system time zone.|
|
H A D | js-apis-system-time.md | 3 …vides system time and time zone features. You can use the APIs of this module to set and obtain th… 7 …ion 9. You are advised to use [@ohos.systemDateTime (system time and time zone)](js-apis-date-time… 484 Obtains the system time zone. This API uses an asynchronous callback to return the result. 492 | callback | AsyncCallback<string> | Yes | Callback used to return the system time zone. For… 525 Obtains the system time zone. This API uses a promise to return the result. 533 | Promise<string> | Promise used to return the system time zone. For details, see [Supported … 752 Sets the system time zone. This API uses an asynchronous callback to return the result. 762 | timezone | string | Yes | System time zone to set. For details, see [Supporte… 796 Sets the system time zone. This API uses a promise to return the result. 806 | timezone | string | Yes | System time zone to set. For details, see [Supported System Time Zones… [all …]
|
H A D | js-apis-system-date-time-sys.md | 3 …vides system time and time zone features. You can use the APIs of this module to set and obtain th… 242 Sets the system time zone. This API uses an asynchronous callback to return the result. 254 | timezone | string | Yes | System time zone to set. For details, see [Supporte… 290 Sets the system time zone. This API uses a promise to return the result. 302 | timezone | string | Yes | System time zone to set. For details, see [Supported System Time Zones…
|
H A D | js-apis-date-time.md | 3 …vides system time and time zone features. You can use the APIs of this module to set and obtain th… 613 Obtains the system time zone. This API uses an asynchronous callback to return the result. 621 | callback | AsyncCallback<string> | Yes | Callback used to return the system time zone. For… 646 Obtains the system time zone. This API uses a promise to return the result. 654 | Promise<string> | Promise used to return the system time zone. For details, see [Supported … 677 Obtains the system time zone in synchronous mode. 685 | string | System time zone. For details, see [Supported System Time Zones](#supported-system-time-… 702 …orted system time zones and the respective offset (unit: h) between each time zone and time zone 0.
|
/ohos5.0/docs/en/readme/ |
H A D | system-time.md | 5 …The time and time zone subsystem provides OpenHarmony with the capability of managing the system t… 7 - **Time and time zone management** 9 …ges the system time and time zone in a unified manner, including setting and obtaining the system … 18 **Figure 1** Architecture of the time and time zone subsystem 21 中获取thermal zone温度的路径,获取模拟节点温度的路径参考[热检测的默认… 127 2. 获取thermal zone的热检测结果: 132 成功获取thermal zone的热检测结果如下,其中Temperature的默认温度单位为0.001摄氏度:
|
H A D | subsys-thermal_log.md | 59 | title | path | 获取thermal zone名称的路径 | 60 | title | name | thermal zone名称 | 61 | value | path | 获取thermal zone温度的路径 |
|
/ohos5.0/docs/zh-cn/application-dev/internationalization/ |
H A D | Readme-CN.md | 18 - [时区](i18n-time-zone.md) 27 - [本地化时区名称](i18n-time-zone-display.md)
|
/ohos5.0/base/global/i18n/frameworks/zone/test/ |
H A D | BUILD.gn | 23 [ "//base/global/i18n/interfaces/native/inner_api/zone/include" ] 26 "//base/global/i18n/frameworks/zone:zone_util",
|
/ohos5.0/base/global/i18n/frameworks/intl/src/ |
H A D | date_time_format.cpp | 575 auto zone = std::unique_ptr<TimeZone>(TimeZone::createTimeZone(timezoneStr.c_str())); in Format() local 576 if (zone != nullptr) { in Format() 577 calendar->setTimeZone(*zone); in Format() 578 dateFormat->setTimeZone(*zone); in Format() 596 auto zone = std::unique_ptr<TimeZone>(TimeZone::createTimeZone(timezoneStr.c_str())); in FormatRange() local 597 if (zone != nullptr) { in FormatRange() 598 calendar->setTimeZone(*zone); in FormatRange() 599 dateIntvFormat->setTimeZone(*zone); in FormatRange() 608 if (zone != nullptr) { in FormatRange() 609 toCalendar->setTimeZone(*zone); in FormatRange()
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-thermal_detection.md | 49 | thermal_zone | type | Thermal zone name.| string | 50 …| thermal_zone | path | Path for obtaining the thermal zone temperature of an actual node.| string… 76 …ining the actual node temperature, see the path for obtaining the thermal zone temperature in [The… 127 2. Obtain the thermal detection result of the thermal zone. 132 …The following is the reference thermal detection result of the thermal zone. The value of **Temper…
|
H A D | subsys-thermal_log.md | 61 | title | path | Path for obtaining the thermal zone name.| 62 | title | name | Thermal zone name.| 63 | value | path | Path for obtaining the thermal zone temperature.|
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/utils/include/ |
H A D | log_print.h | 41 bool zone; member
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | different-touch-target-event.md | 21 
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-small-debug-shell-net-ntpdate.md | 41 If the time zone of the board is different from that of the server, the displayed time may be sever…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-textclock.md | 42 …zone offset.<br>The value range is [-14, 12], indicating UTC+12 to UTC-12. A negative value indica… 371 | timeZoneOffset | number | Yes| Time zone offset of the text clock.| 373 | timeValue | number | Yes| Time zone offset of the text clock in seconds from UTC.| 388 // Display the system time in 12-hour format for the UTC+8 time zone, accurate to seconds. 433 …its selected value based on the text clock's timezone offset and the time zone offset in seconds f…
|
/ohos5.0/docs/en/application-dev/reference/apis-localization-kit/ |
H A D | js-apis-i18n-sys.md | 460 Obtains the array of time zone city items after sorting. 470 | Array<[TimeZoneCityItem](#timezonecityitem10)> | Array of time zone city items.| 513 Represents the time zone and city combination information. 521 | zoneId | string | Yes | Time zone ID, for example, **Asia/Shanghai**. … 524 | offset | int | Yes | Offset of the time zone ID. | 525 | zoneDisplayName | string | Yes | Displayed name of the time zone ID in the system lo… 526 | rawOffset | int | No | Fixed offset of the time zone ID. …
|