Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Ddate_util.h32 static int32_t CalculateWeekDay(int32_t year, int32_t month, int32_t day);
H A Ddate_util.cpp68 int32_t Date::CalculateWeekDay(int32_t year, int32_t month, int32_t day) in CalculateWeekDay() function in OHOS::Ace::Date
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_data_adapter.cpp344 auto weekday = Date::CalculateWeekDay(dayInfo.month.year, dayInfo.month.month + 1, dayInfo.day); in SetOffDays()
423 auto currentWeekDay = Date::CalculateWeekDay(currentMonth.year, currentMonth.month + 1, 1); in FillPreMonthData()
H A Drosen_render_calendar.cpp1077 auto weekday = Date::CalculateWeekDay(dayInfo.month.year, dayInfo.month.month + 1, dayInfo.day);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_dialog_pattern.cpp1051 int32_t preMonthDaysCount = (Date::CalculateWeekDay(year, month, 1) + 1) % WEEK_DAYS; in GetCalendarMonthData()
1052 …int32_t nextMonthDaysCount = 6 - ((Date::CalculateWeekDay(year, month, currentMonthMaxDay) + 1) % … in GetCalendarMonthData()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/
H A Dbase_utils_test.cpp146 ASSERT_EQ(locaDay.CalculateWeekDay(2000, 1, 28), DAY_OF_WEEK);