Lines Matching refs:nMonth

154 sal_uInt16 DaysInMonth( sal_uInt16 nMonth, sal_uInt16 nYear )  in DaysInMonth()  argument
156 if( (nMonth == 2) && IsLeapYear( nYear ) ) in DaysInMonth()
159 return aDaysInMonth[ nMonth ]; in DaysInMonth()
173 sal_Int32 DateToDays( sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear ) in DateToDays() argument
178 for( sal_uInt16 i = 1; i < nMonth; i++ ) in DateToDays()
2813 nMonth( 1 ), in ScaDate()
2824 DaysToDate( nNullDate + nDate, nOrigDay, nMonth, nYear ); in ScaDate()
2826 bLastDay = (nOrigDay >= ::DaysInMonth( nMonth, nYear )); in ScaDate()
2835 nMonth( rCopy.nMonth ), in ScaDate()
2850 nMonth = rCopy.nMonth; in operator =()
2866 if( bLastDay || (nDay >= ::DaysInMonth( nMonth, nYear )) ) in setDay()
2872 sal_uInt16 nLastDay = ::DaysInMonth( nMonth, nYear ); in setDay()
2911 sal_Int32 nNewMonth = nMonthCount + nMonth; in addMonths()
2916 nMonth = static_cast< sal_uInt16 >( nNewMonth % 12 ) + 1; in addMonths()
2921 nMonth = static_cast< sal_uInt16 >( nNewMonth % 12 + 12 ); in addMonths()
2924 nMonth = static_cast< sal_uInt16 >( nNewMonth ); in addMonths()
2930 sal_uInt16 nLastDay = ::DaysInMonth( nMonth, nYear ); in getDate()
2932 return ::DateToDays( nRealDay, nMonth, nYear ) - nNullDate; in getDate()
2949 if( ((rFrom.nMonth == 2) || (rFrom.nDay < 30)) && (aTo.nOrigDay == 31) ) in getDiff()
2951 else if( (aTo.nMonth == 2) && aTo.bLastDay ) in getDiff()
2957 if( (aFrom.nMonth == 2) && (aFrom.nDay == 30) ) in getDiff()
2959 if( (aTo.nMonth == 2) && (aTo.nDay == 30) ) in getDiff()
2964 if( (aFrom.nYear < aTo.nYear) || ((aFrom.nYear == aTo.nYear) && (aFrom.nMonth < aTo.nMonth)) ) in getDiff()
2975 nDiff += aFrom.getDaysInMonthRange( aFrom.nMonth, 12 ); in getDiff()
2976 aFrom.addMonths( 13 - aFrom.nMonth ); in getDiff()
2984 nDiff += aFrom.getDaysInMonthRange( aFrom.nMonth, aTo.nMonth - 1 ); in getDiff()
2985 aFrom.addMonths( aTo.nMonth - aFrom.nMonth ); in getDiff()
2996 if( nMonth != rCmp.nMonth ) in operator <()
2997 return nMonth < rCmp.nMonth; in operator <()