Home
last modified time | relevance | path

Searched refs:daysInMonth (Results 1 - 3 of 3) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_data.cpp115 uint32_t daysInMonth = PickerDate::GetMaxDay(year_, month_); in FromDays() local
116 if (days < daysInMonth) { in FromDays()
119 days -= daysInMonth; in FromDays()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_pattern.cpp1516 uint32_t daysInMonth = PickerDate::GetMaxDay(currentDate.GetYear(), month); in GetCurrentDateByMonthDaysColumn() local
1517 if (monthDaysIndex < daysInMonth) { in GetCurrentDateByMonthDaysColumn()
1520 monthDaysIndex -= daysInMonth; in GetCurrentDateByMonthDaysColumn()
1569 uint32_t daysInMonth = GetLunarMaxDay(lunarYear, month, flag && lunarResult.isLeapMonth); in GetCurrentLunarDateByMonthDaysColumn() local
1570 if (monthDaysIndex < daysInMonth) { in GetCurrentLunarDateByMonthDaysColumn()
1573 monthDaysIndex -= daysInMonth; in GetCurrentLunarDateByMonthDaysColumn()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dstyle_modifier.cpp506 uint32_t daysInMonth[] = { 31, IsLeapYear(year) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; in IsValidDate() local
507 if (day < 1 || day > daysInMonth[month - 1]) { in IsValidDate()

Completed in 32 milliseconds