Lines Matching refs:pCal
999 CalendarWrapper* pCal = pFormatter->GetCalendar(); in GetDateRef() local
1002 pCal->setGregorianDateTime( Date() ); // today in GetDateRef()
1085 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, 1 ); in GetDateRef()
1091 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef()
1101 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(0) ); in GetDateRef()
1104 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef()
1109 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(0) ); in GetDateRef()
1112 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(0) ); in GetDateRef()
1120 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef()
1124 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(0) ); in GetDateRef()
1127 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(0) ); in GetDateRef()
1154 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(0) ); in GetDateRef()
1157 pCal->setValue( CalendarFieldIndex::MONTH, ImplGetMonth(0) ); in GetDateRef()
1160 … pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(0) ); in GetDateRef()
1168 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(1) ); in GetDateRef()
1171 pCal->setValue( CalendarFieldIndex::MONTH, ImplGetMonth(1) ); in GetDateRef()
1174 … pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(1) ); in GetDateRef()
1182 if ( !bHadExact || !pCal->isValid() ) in GetDateRef()
1185 pCal->setGregorianDateTime( Date() ); // reset today in GetDateRef()
1190 … pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(1) ); in GetDateRef()
1191 pCal->setValue( CalendarFieldIndex::MONTH, ImplGetMonth(0) ); in GetDateRef()
1192 if ( !pCal->isValid() ) // 2nd try in GetDateRef()
1194 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, 1 ); in GetDateRef()
1195 … pCal->setValue( CalendarFieldIndex::MONTH, ImplGetMonth(0) ); in GetDateRef()
1196 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(1) ); in GetDateRef()
1201 … pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(0) ); in GetDateRef()
1202 pCal->setValue( CalendarFieldIndex::MONTH, ImplGetMonth(1) ); in GetDateRef()
1203 if ( !pCal->isValid() ) // 2nd try in GetDateRef()
1205 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, 1 ); in GetDateRef()
1206 … pCal->setValue( CalendarFieldIndex::MONTH, ImplGetMonth(0) ); in GetDateRef()
1207 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(1) ); in GetDateRef()
1212 … pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(1) ); in GetDateRef()
1213 pCal->setValue( CalendarFieldIndex::MONTH, ImplGetMonth(0) ); in GetDateRef()
1214 if ( !pCal->isValid() ) // 2nd try in GetDateRef()
1216 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, 1 ); in GetDateRef()
1217 … pCal->setValue( CalendarFieldIndex::MONTH, ImplGetMonth(1) ); in GetDateRef()
1218 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(0) ); in GetDateRef()
1233 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef()
1237 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(1) ); in GetDateRef()
1238 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(0) ); in GetDateRef()
1242 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(0) ); in GetDateRef()
1243 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(1) ); in GetDateRef()
1248 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef()
1253 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(0) ); in GetDateRef()
1254 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(1) ); in GetDateRef()
1257 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(1) ); in GetDateRef()
1258 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(0) ); in GetDateRef()
1293 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(1) ); in GetDateRef()
1294 pCal->setValue( CalendarFieldIndex::MONTH, ImplGetMonth(0) ); in GetDateRef()
1296 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(2) ); in GetDateRef()
1299 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(0) ); in GetDateRef()
1300 pCal->setValue( CalendarFieldIndex::MONTH, ImplGetMonth(1) ); in GetDateRef()
1302 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(2) ); in GetDateRef()
1306 … pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(2) ); in GetDateRef()
1307 pCal->setValue( CalendarFieldIndex::MONTH, ImplGetMonth(1) ); in GetDateRef()
1308 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(0) ); in GetDateRef()
1321 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(0) ); in GetDateRef()
1322 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef()
1323 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(1) ); in GetDateRef()
1332 pCal->setValue( CalendarFieldIndex::MONTH, Abs(nMonth)-1 ); in GetDateRef()
1336 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(0) ); in GetDateRef()
1337 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(1) ); in GetDateRef()
1340 pCal->setValue( CalendarFieldIndex::DAY_OF_MONTH, ImplGetDay(1) ); in GetDateRef()
1341 pCal->setValue( CalendarFieldIndex::YEAR, ImplGetYear(0) ); in GetDateRef()
1356 if ( res && pCal->isValid() ) in GetDateRef()
1358 double fDiff = DateTime(*pNullDate) - pCal->getEpochStart(); in GetDateRef()
1359 fDays = ::rtl::math::approxFloor( pCal->getLocalDateTime() ); in GetDateRef()
1367 pCal->loadCalendar( aOrgCalendar, pLoc->getLocale() ); // restore calendar in GetDateRef()
2422 const CalendarWrapper* pCal = pFormatter->GetCalendar(); in InitText() local
2426 = pCal->getMonths(); in InitText()
2437 xElems = pCal->getDays(); in InitText()