Home
last modified time | relevance | path

Searched refs:ONE_DIGIT_BOUNDARY (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_picker_model_ng.cpp33 constexpr int32_t ONE_DIGIT_BOUNDARY = 10; variable
616 … auto selectedMonthStr = (month < ONE_DIGIT_BOUNDARY ? "0" : "") + std::to_string(month); in SetSelectDateWithNode()
629 auto selectedDayStr = (day < ONE_DIGIT_BOUNDARY ? "0" : "") + std::to_string(day); in SetSelectDateWithNode()
702 …order[num++] = (date.GetMonth() < ONE_DIGIT_BOUNDARY ? "0" : "") + std::to_string(date.GetMonth()); in GetDateNodeOrder()
703 … order[num] = (date.GetDay() < ONE_DIGIT_BOUNDARY ? "0" : "") + std::to_string(date.GetDay()); in GetDateNodeOrder()
713 … order[i] = (date.GetMonth() < ONE_DIGIT_BOUNDARY ? "0" : "") + std::to_string(date.GetMonth()); in GetDateNodeOrder()
717 … order[i] = (date.GetDay() < ONE_DIGIT_BOUNDARY ? "0" : "") + std::to_string(date.GetDay()); in GetDateNodeOrder()