Lines Matching refs:nDay
351 void Calendar::SetWeekStart( sal_Int16 nDay ) in SetWeekStart() argument
354 switch (nDay) in SetWeekStart()
366 nDay = i18n::Weekdays::SUNDAY; in SetWeekStart()
368 maCalendarWrapper.setFirstDayOfWeek( nDay); in SetWeekStart()
377 sal_Int16 nDay = maCalendarWrapper.getFirstDayOfWeek(); in ImplGetWeekStart() local
378 switch (nDay) in ImplGetWeekStart()
505 sal_Int16 nDay = maCalendarWrapper.getFirstDayOfWeek(); in ImplFormat() local
513 i18n::CalendarDisplayIndex::DAY, nDay, 1).GetChar(0)); in ImplFormat()
524 nDay++; in ImplFormat()
525 nDay %= 7; in ImplFormat()
618 sal_uInt16 nDay; in ImplHitTest() local
655 for ( nDay = 0; nDay < nDayIndex; nDay++ ) in ImplHitTest()
657 nOffX = nDayX + (nDay*mnDayWidth); in ImplHitTest()
662 rDate += nDay; in ImplHitTest()
667 for ( nDay = 1; nDay <= nDaysInMonth; nDay++ ) in ImplHitTest()
678 rDate += nDay-1; in ImplHitTest()
696 for ( nDay = 1; nDay <= nDayCount; nDay++ ) in ImplHitTest()
708 rDate += nDay-1; in ImplHitTest()
811 sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear, in ImplDrawDate() argument
817 const String& rDay = *(mpDayText[nDay-1]); in ImplDrawDate()
823 if ( (nDay == maCurDate.GetDay()) && in ImplDrawDate()
829 if ( mpSelectTable->IsKeyValid( Date( nDay, nMonth, nYear ).GetDate() ) ) in ImplDrawDate()
836 pDateInfo = mpDateTable->Get( Date( nDay, nMonth, nYear ).GetDate() ); in ImplDrawDate()
838 pDateInfo = mpDateTable->Get( Date( nDay, nMonth, 0 ).GetDate() ); in ImplDrawDate()
914 if ( (nDay == aTodayDate.GetDay()) && in ImplDrawDate()
955 if( mbDropPos && maDropDate == Date( nDay, nMonth, nYear ) ) in ImplDrawDate()
979 sal_uInt16 nDay; in ImplDraw() local
1147 for ( nDay = 0; nDay < nDayIndex; nDay++ ) in ImplDraw()
1149 nDeltaX = nDayX + (nDay*mnDayWidth); in ImplDraw()
1150 ImplDrawDate( nDeltaX, nDayY, nDay+aTempDate.GetDay(), in ImplDraw()
1152 (DayOfWeek)((nDay+(sal_uInt16)eStartDay)%7), sal_False, sal_True, nToday ); in ImplDraw()
1155 for ( nDay = 1; nDay <= nDaysInMonth; nDay++ ) in ImplDraw()
1158 ImplDrawDate( nDeltaX, nDayY, nDay, nMonth, nYear, in ImplDraw()
1176 for ( nDay = 1; nDay <= nDayCount; nDay++ ) in ImplDraw()
1179 ImplDrawDate( nDeltaX, nDayY, nDay, in ImplDraw()
2316 for ( sal_uInt16 nDay = 1; nDay <= nDaysInMonth; nDay++ ) in GetDateRect() local
2318 if ( nDay == rDate.GetDay() ) in GetDateRect()