Lines Matching refs:month
54 int days, int* year, int* month, int* day) {
57 // the same year and month as the cached 'days'.
63 *month = ymd_month_;
109 *month = i;
118 *month = 0;
121 *month = 1;
125 DCHECK(DaysFromYearMonth(*year, *month) + *day - 1 == save_days);
128 ymd_month_ = *month;
134 int DateCache::DaysFromYearMonth(int year, int month) {
140 year += month / 12;
141 month %= 12;
142 if (month < 0) {
144 month += 12;
147 DCHECK(month >= 0);
148 DCHECK(month < 12);
172 return day_from_year + day_from_month[month];
174 return day_from_year + day_from_month_leap[month];
178 void DateCache::BreakDownTime(int64_t time_ms, int* year, int* month, int* day,
183 YearMonthDayFromDays(days, year, month, day);