Home
last modified time | relevance | path

Searched refs:hour24_ (Results 1 - 11 of 11) sorted by relevance

/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dtime_util.cpp113 timeOfNow.hour24_ = in GetTimeOfNow()
116 (timeOfNow.hour24_ < TWELVE_HOUR_BASE) ? timeOfNow.hour24_ : (timeOfNow.hour24_ - TWELVE_HOUR_BASE); in GetTimeOfNow()
140 return GreatOrEqual(timeOfNow.hour24_, DAY_TIME_LOWER_LIMIT) && in IsDayTime()
141 LessNotEqual(timeOfNow.hour24_, DAY_TIME_UPPER_LIMIT); in IsDayTime()
168 timeOfZone.hour24_ = in GetTimeOfZone()
171 (timeOfZone.hour24_ < TWELVE_HOUR_BASE) ? timeOfZone.hour24_ : (timeOfZone.hour24_ in GetTimeOfZone()
[all...]
H A Dtime_util.h54 int32_t hour24_ = 0; // 24-hour clock member
75 int32_t hour24_ = 0; // 24-hour clock member
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_column_layout_algorithm.h43 hour24_ = value; in SetHour24()
48 return hour24_; in GetHour24()
68 bool hour24_ = SystemProperties::Is24HourClock(); member in OHOS::Ace::NG::TimePickerColumnLayoutAlgorithm
H A Dtimepicker_row_pattern.h214 isForceUpdate_ = value != hour24_; in SetHour24()
215 hour24_ = value; in SetHour24()
221 CHECK_NULL_RETURN(timePickerLayoutProperty, hour24_); in GetHour24()
222 return timePickerLayoutProperty->GetIsUseMilitaryTimeValue(hour24_); in GetHour24()
632 bool hour24_ = SystemProperties::Is24HourClock(); member in OHOS::Ace::NG::TimePickerRowPattern
H A Dtimepicker_column_pattern.h208 hour24_ = value; in SetHour24()
213 return hour24_; in GetHour24()
383 bool hour24_ = SystemProperties::Is24HourClock(); member in OHOS::Ace::NG::TimePickerColumnPattern
/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_time_component.h52 return hour24_; in GetHour24()
56 hour24_ = value; in SetHour24()
104 bool hour24_ = !Localization::GetInstance()->IsAmPmHour(); member in OHOS::Ace::PickerTimeComponent
H A Dpicker_time_component.cpp79 if (hour24_) { in HandleHourColumnBuilding()
124 if (hour24_) { in OnDataLinking()
195 if (hour24_) { in GetCurrentTime()
217 if (!hour24_) { in OnColumnsCreating()
/foundation/arkui/ace_engine/frameworks/core/components/clock/
H A Drosen_render_clock.cpp169 accessibilityTimeCallback_(timeOfNow.hour24_, timeOfNow.minute_); in PerformLayout()
174 auto hour = static_cast<int32_t>(timeOfNow.hour24_); in PerformLayout()
H A Drender_clock.cpp148 UpdateAccessibilityInfo(timeOfNow.hour24_, timeOfNow.minute_); in Update()
/foundation/arkui/ace_engine/frameworks/core/components/text_clock/
H A Drender_text_clock.cpp122 dateTime.hour = static_cast<uint32_t>(timeOfNow.hour24_); in GetDateTime()
/foundation/arkui/ace_engine/test/unittest/base/
H A Dbase_utils_test.cpp221 ASSERT_EQ(theTimeOfNow.hour24_, localTimeHour24); in HWTEST_F()
226 ASSERT_EQ(theTimeOfZone.hour24_, localTimeHour24); in HWTEST_F()
260 ASSERT_EQ(theTimeOfNow.hour24_, localTimeHour24); in HWTEST_F()
265 ASSERT_EQ(theTimeOfZone.hour24_, localTimeHour24); in HWTEST_F()

Completed in 9 milliseconds