Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_date_component.cpp171 bool hasLeapMonth = GetLunarLeapMonth(lunarYear, lunarLeapMonth); in GetCurrentLunarDate() local
173 if (!hasLeapMonth) { in GetCurrentLunarDate()
220 bool hasLeapMonth = GetLunarLeapMonth(lunarDate.year, nowLeapMonth); in HandleLunarYearChange() local
221 if (!hasLeapMonth && lunarDate.isLeapMonth) { in HandleLunarYearChange()
283 bool hasLeapMonth = GetLunarLeapMonth(lunarDate.year, lunarLeapMonth); in HandleLunarMonthChange() local
284 if (!hasLeapMonth && lunarDate.isLeapMonth) { in HandleLunarMonthChange()
395 bool hasLeapMonth = GetLunarLeapMonth(lunarDate.year, lunarLeapMonth); in HandleAddLunarDayChange() local
409 } else if (!hasLeapMonth) { in HandleAddLunarDayChange()
453 } else if (!hasLeapMonth) { in HandleReduceLunarDayChange()
673 bool hasLeapMonth = GetLunarLeapMonth(current.year, lunarLeapMonth); in LunarColumnsBuilding() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_pattern.cpp854 } else if (!hasLeapMonth) { in HandleReduceLunarDayChange()
903 } else if (!hasLeapMonth) { in HandleAddLunarDayChange()
1170 if (!hasLeapMonth && lunarDate.isLeapMonth) { in HandleLunarMonthChange()
1200 bool hasLeapMonth = GetLunarLeapMonth(lunarDate.year, nowLeapMonth); in HandleLunarYearChange() local
1201 if (!hasLeapMonth && lunarDate.isLeapMonth) { in HandleLunarYearChange()
1236 bool hasLeapMonth = GetLunarLeapMonth(lunarYear, lunarLeapMonth); in GetCurrentLunarDate() local
1238 if (!hasLeapMonth) { in GetCurrentLunarDate()
1466 bool hasLeapMonth = GetLunarLeapMonth(lunarYear, lunarLeapMonth); in GetCurrentLunarDateByMonthDaysColumn() local
1470 auto flag = hasLeapMonth && lunarLeapMonth == month; in GetCurrentLunarDateByMonthDaysColumn()
1620 if (hasLeapMonth && lunarLeapMonth == index) { in LunarColumnsBuilding()
[all …]