Lines Matching refs:firstDay
117 int firstDay; /* Start month calendar with firstDay's day, member
514 INT firstDay; in MONTHCAL_GetMinDate() local
517 firstDay = MONTHCAL_CalculateDayOfWeek(&st_first, FALSE); in MONTHCAL_GetMinDate()
523 (infoPtr->firstDay - firstDay) % 7 + 1; in MONTHCAL_GetMinDate()
551 (infoPtr->firstDay - first_day) % 7 + 1; in MONTHCAL_GetMaxDate()
567 int firstDay, col, row; in MONTHCAL_GetDayFromPos() local
579 firstDay = (MONTHCAL_CalculateDayOfWeek(&st, FALSE) + 6 - infoPtr->firstDay) % 7; in MONTHCAL_GetDayFromPos()
580 return col + 7 * row - firstDay; in MONTHCAL_GetDayFromPos()
600 first = (MONTHCAL_CalculateDayOfWeek(&st, FALSE) + 6 - infoPtr->firstDay) % 7; in MONTHCAL_GetDayPos()
998 if ((infoPtr->firstDay - weeknum1) % 7 > mindays) in MONTHCAL_PaintWeeknumbers()
1010 if ((infoPtr->firstDay - weeknum1) % 7 > mindays) weeknum++; in MONTHCAL_PaintWeeknumbers()
1023 if ((infoPtr->firstDay - weeknum1) % 7 > mindays) weeknum++; in MONTHCAL_PaintWeeknumbers()
1207 i = infoPtr->firstDay; in MONTHCAL_PaintCalendar()
1381 day = (infoPtr->firstDay >= 0) ? (infoPtr->firstDay+6)%7 : infoPtr->firstDay; in MONTHCAL_GetFirstDayOfWeek()
1441 infoPtr->firstDay = (new_day >= 0) ? (++new_day) % 7 : new_day; in MONTHCAL_SetFirstDayOfWeek()