Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_pattern.cpp1414 auto monthDaysIndex = monthDaysDatePickerColumnPattern->GetCurrentIndex(); in GetCurrentDateByMonthDaysColumn() local
1419 if (monthDaysIndex < daysInMonth) { in GetCurrentDateByMonthDaysColumn()
1422 monthDaysIndex -= daysInMonth; in GetCurrentDateByMonthDaysColumn()
1426 currentDate.SetDay(monthDaysIndex + 1); // days is index start form 0 and day start form 1. in GetCurrentDateByMonthDaysColumn()
1467 auto monthDaysIndex = monthDaysDatePickerColumnPattern->GetCurrentIndex(); in GetCurrentLunarDateByMonthDaysColumn() local
1472 if (monthDaysIndex < daysInMonth) { in GetCurrentLunarDateByMonthDaysColumn()
1475 monthDaysIndex -= daysInMonth; in GetCurrentLunarDateByMonthDaysColumn()
1484 lunarResult.day = monthDaysIndex + 1; // day start form 1, index start from 0 in GetCurrentLunarDateByMonthDaysColumn()