Lines Matching refs:aDate
130 Date aDate( pTable->GetCurKey() ); in ImplCalendarSelectDateRange() local
131 if ( aDate > aEndDate ) in ImplCalendarSelectDateRange()
134 if ( aDate >= aStartDate ) in ImplCalendarSelectDateRange()
135 pTable->Remove( aDate.GetDate() ); in ImplCalendarSelectDateRange()
161 Date aDate( pTable->GetCurKey() ); in ImplCalendarUnSelectDateRange() local
162 if ( aDate > aEndDate ) in ImplCalendarUnSelectDateRange()
165 if ( aDate >= aStartDate ) in ImplCalendarUnSelectDateRange()
166 pTable->Remove( aDate.GetDate() ); in ImplCalendarUnSelectDateRange()
174 Date aDate( pOldTable->GetCurKey() ); in ImplCalendarUnSelectDateRange() local
175 if ( aDate > aEndDate ) in ImplCalendarUnSelectDateRange()
177 if ( aDate >= aStartDate ) in ImplCalendarUnSelectDateRange()
178 pTable->Insert( aDate.GetDate(), TABLE_DATE_SELECTED ); in ImplCalendarUnSelectDateRange()
982 Date aDate = GetFirstMonth(); in ImplDraw() local
1041 nMonth = aDate.GetMonth(); in ImplDraw()
1042 nYear = aDate.GetYear(); in ImplDraw()
1117 maCalendarWrapper.setGregorianDateTime( aDate); in ImplDraw()
1132 sal_uInt16 nDaysInMonth = aDate.GetDaysInMonth(); in ImplDraw()
1141 sal_uInt16 nDayIndex = (sal_uInt16)aDate.GetDayOfWeek(); in ImplDraw()
1145 Date aTempDate = aDate; in ImplDraw()
1171 sal_uInt16 nWeekDay = (sal_uInt16)aDate.GetDayOfWeek(); in ImplDraw()
1174 Date aTempDate = aDate; in ImplDraw()
1193 aDate += nDaysInMonth; in ImplDraw()
1843 Date aDate = maCurDate; in RequestHelp() local
1844 if ( GetDate( ScreenToOutputPixel( rHEvt.GetMousePosPixel() ), aDate ) ) in RequestHelp()
1846 Rectangle aDateRect = GetDateRect( aDate ); in RequestHelp()
1859 pInfo = mpDateTable->Get( aDate.GetDate() ); in RequestHelp()
1861 pInfo = mpDateTable->Get( Date( aDate.GetDay(), aDate.GetMonth(), 0 ).GetDate() ); in RequestHelp()
1878 maCalendarWrapper.setGregorianDateTime( aDate); in RequestHelp()
1880 sal_uInt16 nMonth = aDate.GetMonth(); in RequestHelp()
1883 aStr.Append( XubString::CreateFromInt32( aDate.GetDayOfYear() ) ); in RequestHelp()
1892 aStr.Append( XubString::CreateFromInt32( aDate.GetYear()+1 ) ); in RequestHelp()
1897 aStr.Append( XubString::CreateFromInt32( aDate.GetYear()-1 ) ); in RequestHelp()
2105 Date aDate( 0, 0, 0 ); in GetSelectDate() local
2106 return aDate; in GetSelectDate()
2199 Date aDate = GetFirstMonth(); in GetLastMonth() local
2202 aDate += aDate.GetDaysInMonth(); in GetLastMonth()
2203 aDate--; in GetLastMonth()
2204 return aDate; in GetLastMonth()
2233 Date aDate = maCurDate; in GetDate() local
2234 sal_uInt16 nHitTest = ImplHitTest( rPos, aDate ); in GetDate()
2237 rDate = aDate; in GetDate()
2257 Date aDate = GetFirstMonth(); in GetDateRect() local
2259 if ( rDate < aDate ) in GetDateRect()
2261 aRect = GetDateRect( aDate ); in GetDateRect()
2262 nDaysOff = aDate-rDate; in GetDateRect()
2306 sal_uInt16 nDaysInMonth = aDate.GetDaysInMonth(); in GetDateRect()
2309 if ( (aDate.GetMonth() == rDate.GetMonth()) && in GetDateRect()
2310 (aDate.GetYear() == rDate.GetYear()) ) in GetDateRect()
2314 nDayIndex = (sal_uInt16)aDate.GetDayOfWeek(); in GetDateRect()
2336 aDate += nDaysInMonth; in GetDateRect()
2484 Date aDate( nKey ); in ClearDateInfo() local
2485 ImplUpdateDate( aDate ); in ClearDateInfo()
2953 Date aDate = GetDate(); in ShowDropDown() local
2954 if ( IsEmptyDate() || !aDate.IsValid() ) in ShowDropDown()
2957 aDate = maDefaultDate; in ShowDropDown()
2959 aDate = Date(); in ShowDropDown()
2964 pCalendar->SelectDate( aDate ); in ShowDropDown()
2966 pCalendar->SetCurDate( aDate ); in ShowDropDown()