Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_date_component.cpp759 static const double addingValue = 0.5; // adding value for leap month. in LunarDateCompare() local
766 double leftMonth = (left.isLeapMonth ? left.month + addingValue : left.month); in LunarDateCompare()
767 double rightMonth = (right.isLeapMonth ? right.month + addingValue : right.month); in LunarDateCompare()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_pattern.cpp1514 static const double addingValue = 0.5; // adding value for leap month. in LunarDateCompare() local
1521 double leftMonth = (left.isLeapMonth ? left.month + addingValue : left.month); in LunarDateCompare()
1522 double rightMonth = (right.isLeapMonth ? right.month + addingValue : right.month); in LunarDateCompare()