mirror of
https://github.com/openharmony/time_time_cangjie_wrapper.git
synced 2026-07-01 21:24:01 -04:00
77145bc99f84b463f84dc8f813d4b5337151644c
Time and Time Zone Subsystem
Introduction
The time and time zone subsystem provides OpenHarmony with the capability of managing the system time, time zone, and timing.
-
Time and time zone management
Manages the system time and time zone in a unified manner, including setting and obtaining the system time, date, and time zone, and obtaining the system startup time.
-
Timing management
Provides the system timer capability, including creating, starting, stopping, and destroying timers. There are three types of timers: system startup timer, system time timer, and wakeup timer.
System Architecture
Figure 1 Architecture of the time and time zone subsystem
Directory Structure
The source code of the time and time zone subsystem is stored in the /base/time directory.
The directory structure is as follows:
base/time/time_cangjie_wrapper
├── ohos # Cangjie Time and Time Zone Subsystem code
├── figures # architecture pictures
Repositories Involved
time_cangjie_wrapper
Description
Languages
Python
52.7%
TypeScript
47.3%
