Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/test/unittest/base/
H A Dbase_utils_test.cpp133 ASSERT_EQ(locaDay.DayOfMonth(2000, 1), DAY_OF_MONTH_THIRTY_ONE);
134 ASSERT_EQ(locaDay.DayOfMonth(2000, 2), DAY_OF_MONTH_TWENTY_NINE);
135 ASSERT_EQ(locaDay.DayOfMonth(2000, 3), DAY_OF_MONTH_THIRTY_ONE);
136 ASSERT_EQ(locaDay.DayOfMonth(2000, 4), DAY_OF_MONTH_THIRTY);
137 ASSERT_EQ(locaDay.DayOfMonth(2000, 5), DAY_OF_MONTH_THIRTY_ONE);
138 ASSERT_EQ(locaDay.DayOfMonth(2000, 6), DAY_OF_MONTH_THIRTY);
139 ASSERT_EQ(locaDay.DayOfMonth(2000, 7), DAY_OF_MONTH_THIRTY_ONE);
140 ASSERT_EQ(locaDay.DayOfMonth(2000, 8), DAY_OF_MONTH_THIRTY_ONE);
141 ASSERT_EQ(locaDay.DayOfMonth(2000, 9), DAY_OF_MONTH_THIRTY);
143 ASSERT_EQ(locaDay.DayOfMonth(2000, 11), DAY_OF_MONTH_THIRTY);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Ddate_util.h30 static int32_t DayOfMonth(int32_t year, int32_t month);
H A Ddate_util.cpp40 int32_t Date::DayOfMonth(int32_t year, int32_t month) in DayOfMonth() function in OHOS::Ace::Date
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_data_adapter.cpp425 auto lastMonthDays = Date::DayOfMonth(lastMonth.year, lastMonth.month + 1); in FillPreMonthData()
446 auto currentMonthDays = Date::DayOfMonth(currentMonth.year, currentMonth.month + 1); in FillCurrentMonthData()