Home | History | Annotate | Download | only in cctest

Lines Matching defs:day

49     int year, month, day;
50 YearMonthDayFromDays(days, &year, &month, &day);
51 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec);
61 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) {
64 if (Match(&rules_[i], year, month, day, time_in_day_sec)) {
71 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec) {
76 if (rule->start_month == month && start_day > day) return false;
77 if (rule->start_month == month && start_day == day &&
81 if (rule->end_month == month && end_day < day) return false;
82 if (rule->end_month == month && end_day == day &&
89 int ComputeRuleDay(int year, int month, int day) {
90 if (day != 0) return day;
93 while (Weekday(days + day) != 6) day++;
94 return day + 1;
105 int day) {
107 return (result + day - 1) * DateCache::kMsPerDay;
149 // Check each day of 2010.
157 // Check one day from 2010 to 2100.