Lines Matching refs:rDate
1206 static sal_Bool ImplDateGetValue( const XubString& rStr, Date& rDate, ExtDateFieldFormat eDateForma… in ImplDateGetValue() argument
1309 rDate = aNewDate; in ImplDateGetValue()
1348 XubString DateFormatter::ImplGetDateAsText( const Date& rDate, in ImplGetDateAsText() argument
1374 sal_uInt16 nYear = rDate.GetYear(); in ImplGetDateAsText()
1385 sal_uInt16 nDay = rDate.GetDay(); in ImplGetDateAsText()
1386 sal_uInt16 nMonth = rDate.GetMonth(); in ImplGetDateAsText()
1387 sal_uInt16 nYear = rDate.GetYear(); in ImplGetDateAsText()
1397 …return ImplGetLocaleDataWrapper().getLongDate( rDate, GetCalendarWrapper(), 1, sal_False, 1, !bSho… in ImplGetDateAsText()
1442 static void ImplDateIncrementDay( Date& rDate, sal_Bool bUp ) in ImplDateIncrementDay() argument
1444 DateFormatter::ExpandCentury( rDate ); in ImplDateIncrementDay()
1448 if ( (rDate.GetDay() != 31) || (rDate.GetMonth() != 12) || (rDate.GetYear() != 9999) ) in ImplDateIncrementDay()
1449 rDate++; in ImplDateIncrementDay()
1453 if ( (rDate.GetDay() != 1 ) || (rDate.GetMonth() != 1) || (rDate.GetYear() != 0) ) in ImplDateIncrementDay()
1454 rDate--; in ImplDateIncrementDay()
1460 static void ImplDateIncrementMonth( Date& rDate, sal_Bool bUp ) in ImplDateIncrementMonth() argument
1462 DateFormatter::ExpandCentury( rDate ); in ImplDateIncrementMonth()
1464 sal_uInt16 nMonth = rDate.GetMonth(); in ImplDateIncrementMonth()
1465 sal_uInt16 nYear = rDate.GetYear(); in ImplDateIncrementMonth()
1470 rDate.SetMonth( 1 ); in ImplDateIncrementMonth()
1471 rDate.SetYear( nYear + 1 ); in ImplDateIncrementMonth()
1476 rDate.SetMonth( nMonth + 1 ); in ImplDateIncrementMonth()
1483 rDate.SetMonth( 12 ); in ImplDateIncrementMonth()
1484 rDate.SetYear( nYear - 1 ); in ImplDateIncrementMonth()
1489 rDate.SetMonth( nMonth - 1 ); in ImplDateIncrementMonth()
1493 sal_uInt16 nDaysInMonth = rDate.GetDaysInMonth(); in ImplDateIncrementMonth()
1494 if ( rDate.GetDay() > nDaysInMonth ) in ImplDateIncrementMonth()
1495 rDate.SetDay( nDaysInMonth ); in ImplDateIncrementMonth()
1500 static void ImplDateIncrementYear( Date& rDate, sal_Bool bUp ) in ImplDateIncrementYear() argument
1502 DateFormatter::ExpandCentury( rDate ); in ImplDateIncrementYear()
1504 sal_uInt16 nYear = rDate.GetYear(); in ImplDateIncrementYear()
1508 rDate.SetYear( nYear + 1 ); in ImplDateIncrementYear()
1513 rDate.SetYear( nYear - 1 ); in ImplDateIncrementYear()
1865 void DateFormatter::ImplNewFieldValue( const Date& rDate ) in ImplNewFieldValue() argument
1881 ImplSetUserDate( rDate, &aSelection ); in ImplNewFieldValue()
2025 void DateFormatter::ExpandCentury( Date& rDate ) in ExpandCentury() argument
2027 ExpandCentury( rDate, utl::MiscCfg().GetYear2000() ); in ExpandCentury()
2032 void DateFormatter::ExpandCentury( Date& rDate, sal_uInt16 nTwoDigitYearStart ) in ExpandCentury() argument
2034 sal_uInt16 nDateYear = rDate.GetYear(); in ExpandCentury()
2040 rDate.SetYear( nDateYear + (nCentury*100) ); in ExpandCentury()
2335 void DateBox::InsertDate( const Date& rDate, sal_uInt16 nPos ) in InsertDate() argument
2337 Date aDate = rDate; in InsertDate()
2348 void DateBox::RemoveDate( const Date& rDate ) in RemoveDate() argument
2350 ComboBox::RemoveEntry( ImplGetDateAsText( rDate, GetFieldSettings() ) ); in RemoveDate()
2364 sal_uInt16 DateBox::GetDatePos( const Date& rDate ) const in GetDatePos()
2368 …aStr = ImplGetLocaleDataWrapper().getLongDate( rDate, GetCalendarWrapper(), 1, sal_False, 1, !IsSh… in GetDatePos()
2370 aStr = ImplGetLocaleDataWrapper().getDate( rDate ); in GetDatePos()