Searched refs:timeZone (Results 1 - 6 of 6) sorted by relevance
/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | time_util.cpp | 92 struct timezone timeZone; in GetTimeOfNow() local 93 gettimeofday(¤tTime, &timeZone); in GetTimeOfNow() 96 int32_t minutesWest = timeZone.tz_minuteswest; in GetTimeOfNow() 105 timeOfNow.hoursWest_ = timeZone.tz_minuteswest / TOTAL_MINUTE_OF_HOUR; in GetTimeOfNow() 147 struct timezone timeZone; in GetTimeOfZone() local 148 gettimeofday(¤tTime, &timeZone); in GetTimeOfZone() 151 int32_t minutesWest = timeZone.tz_minuteswest; in GetTimeOfZone()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_clock/ |
H A D | text_clock_layout_property.cpp | 26 struct timezone timeZone {}; in GetSystemTimeZone() struct 27 gettimeofday(¤tTime, &timeZone); in GetSystemTimeZone() 28 int32_t hoursWest = timeZone.tz_minuteswest / TOTAL_MINUTE_OF_HOUR; in GetSystemTimeZone()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | date_time_format_module.cpp | 213 std::string result, timeZone; in Format() local 215 formatter->dateFormat_->Format(dateTime, timeZone, result, status); in Format() 279 std::string result, timeZone, check; in FormatDate() local 282 dateFormat_->Format(time, timeZone, result, status); in FormatDate() 294 dateFormat_->Format(time, timeZone, check, status); in FormatDate() 341 std::string result, timeZone; in FormatTime() local 344 dateFormat_->Format(time, timeZone, result, status); in FormatTime()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/context/ |
H A D | js_profiler.cpp | 400 struct timezone timeZone; in GetCurrentClockTick() 401 return (gettimeofday(&timeVal, &timeZone) == 0) ? ((timeVal.tv_usec / unit) + (timeVal.tv_sec * unit)) : 0; in GetCurrentClockTick()
|
/foundation/arkui/ace_engine/frameworks/base/i18n/ |
H A D | localization.cpp | 261 TimeZone* timeZone = TimeZone::createTimeZone("GMT+0:00"); in FormatDuration() local 262 simpleDateFormat->setTimeZone(*timeZone); in FormatDuration() 266 delete(timeZone); in FormatDuration() 283 TimeZone* timeZone = TimeZone::createTimeZone("GMT+0:00"); in FormatDuration() local 284 simpleDateFormat->setTimeZone(*timeZone); in FormatDuration() 293 delete(timeZone); in FormatDuration()
|
/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | base_utils_test.cpp | 289 struct timezone timeZone; in HWTEST_F() local 290 gettimeofday(¤tTime, &timeZone); in HWTEST_F() 291 auto getHoursWest = timeZone.tz_minuteswest / 60; in HWTEST_F()
|
Completed in 8 milliseconds