Lines Matching refs:nDay
84 long Date::DateToDays( sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear ) in DateToDays() argument
92 nDays += nDay; in DateToDays()
193 sal_uIntPtr nDay = GetDay(); in SetMonth() local
196 nDate = nDay + (((sal_uIntPtr)(nNewMonth%100))*100) + (nYear*10000); in SetMonth()
203 sal_uIntPtr nDay = GetDay(); in SetYear() local
206 nDate = nDay + (nMonth*100) + (((sal_uIntPtr)(nNewYear%10000))*10000); in SetYear()
220 sal_uInt16 nDay = GetDay(); in GetDayOfYear() local
222 … nDay = nDay + ::DaysInMonth( i, GetYear() ); // += yields a warning on MSVC, so don't use it in GetDayOfYear()
223 return nDay; in GetDayOfYear()
306 sal_uInt16 nDay; in GetWeekOfYear() local
309 DaysToDate( nTempDays, nDay, nMonth, nYear ); in GetWeekOfYear()
310 nWeek = Date( nDay, nMonth, nYear ).GetWeekOfYear( eStartDay, nMinimumNumberOfDaysInWeek ); in GetWeekOfYear()
337 sal_uInt16 nDay = GetDay(); in IsValid() local
343 if ( !nDay || (nDay > DaysInMonth( nMonth, nYear )) ) in IsValid()
351 else if ( (nMonth == 10) && (nDay < 15) ) in IsValid()
362 sal_uInt16 nDay; in operator +=() local
374 DaysToDate( nTempDays, nDay, nMonth, nYear ); in operator +=()
375 nDate = ((sal_uIntPtr)nDay) + (((sal_uIntPtr)nMonth)*100) + (((sal_uIntPtr)nYear)*10000); in operator +=()
385 sal_uInt16 nDay; in operator -=() local
397 DaysToDate( nTempDays, nDay, nMonth, nYear ); in operator -=()
398 nDate = ((sal_uIntPtr)nDay) + (((sal_uIntPtr)nMonth)*100) + (((sal_uIntPtr)nYear)*10000); in operator -=()
408 sal_uInt16 nDay; in operator ++() local
416 DaysToDate( nTempDays, nDay, nMonth, nYear ); in operator ++()
417 nDate = ((sal_uIntPtr)nDay) + (((sal_uIntPtr)nMonth)*100) + (((sal_uIntPtr)nYear)*10000); in operator ++()
427 sal_uInt16 nDay; in operator --() local
435 DaysToDate( nTempDays, nDay, nMonth, nYear ); in operator --()
436 nDate = ((sal_uIntPtr)nDay) + (((sal_uIntPtr)nMonth)*100) + (((sal_uIntPtr)nYear)*10000); in operator --()