Lines Matching refs:dayPeriod
391 DayPeriodRules::DayPeriod dayPeriod, UErrorCode &errorCode) const { in getMidPointForDayPeriod() argument
394 int32_t startHour = getStartHourForDayPeriod(dayPeriod, errorCode); in getMidPointForDayPeriod()
395 int32_t endHour = getEndHourForDayPeriod(dayPeriod, errorCode); in getMidPointForDayPeriod()
414 DayPeriodRules::DayPeriod dayPeriod, UErrorCode &errorCode) const { in getStartHourForDayPeriod() argument
417 if (dayPeriod == DAYPERIOD_MIDNIGHT) { return 0; } in getStartHourForDayPeriod()
418 if (dayPeriod == DAYPERIOD_NOON) { return 12; } in getStartHourForDayPeriod()
420 if (fDayPeriodForHour[0] == dayPeriod && fDayPeriodForHour[23] == dayPeriod) { in getStartHourForDayPeriod()
423 if (fDayPeriodForHour[i] != dayPeriod) { in getStartHourForDayPeriod()
429 if (fDayPeriodForHour[i] == dayPeriod) { in getStartHourForDayPeriod()
441 DayPeriodRules::DayPeriod dayPeriod, UErrorCode &errorCode) const { in getEndHourForDayPeriod() argument
444 if (dayPeriod == DAYPERIOD_MIDNIGHT) { return 0; } in getEndHourForDayPeriod()
445 if (dayPeriod == DAYPERIOD_NOON) { return 12; } in getEndHourForDayPeriod()
447 if (fDayPeriodForHour[0] == dayPeriod && fDayPeriodForHour[23] == dayPeriod) { in getEndHourForDayPeriod()
450 if (fDayPeriodForHour[i] != dayPeriod) { in getEndHourForDayPeriod()
457 if (fDayPeriodForHour[i] == dayPeriod) { in getEndHourForDayPeriod()