Lines Matching refs:nMonth

69 inline sal_uInt16 DaysInMonth( sal_uInt16 nMonth, sal_uInt16 nYear )  in DaysInMonth()  argument
71 if ( nMonth != 2 ) in DaysInMonth()
72 return aDaysInMonth[nMonth-1]; in DaysInMonth()
76 return aDaysInMonth[nMonth-1] + 1; in DaysInMonth()
78 return aDaysInMonth[nMonth-1]; in DaysInMonth()
84 long Date::DateToDays( sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear ) in DateToDays() argument
90 for( sal_uInt16 i = 1; i < nMonth; i++ ) in DateToDays()
183 sal_uIntPtr nMonth = GetMonth(); in SetDay() local
186 nDate = ((sal_uIntPtr)(nNewDay%100)) + (nMonth*100) + (nYear*10000); in SetDay()
204 sal_uIntPtr nMonth = GetMonth(); in SetYear() local
206 nDate = nDay + (nMonth*100) + (((sal_uIntPtr)(nNewYear%10000))*10000); in SetYear()
307 sal_uInt16 nMonth; in GetWeekOfYear() local
309 DaysToDate( nTempDays, nDay, nMonth, nYear ); in GetWeekOfYear()
310 nWeek = Date( nDay, nMonth, nYear ).GetWeekOfYear( eStartDay, nMinimumNumberOfDaysInWeek ); in GetWeekOfYear()
338 sal_uInt16 nMonth = GetMonth(); in IsValid() local
341 if ( !nMonth || (nMonth > 12) ) in IsValid()
343 if ( !nDay || (nDay > DaysInMonth( nMonth, nYear )) ) in IsValid()
349 else if ( nMonth < 10 ) in IsValid()
351 else if ( (nMonth == 10) && (nDay < 15) ) in IsValid()
363 sal_uInt16 nMonth; 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 +=()
386 sal_uInt16 nMonth; 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 -=()
409 sal_uInt16 nMonth; 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 ++()
428 sal_uInt16 nMonth; 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 --()