Lines Matching refs:nDay1
273 sal_uInt16 nDay1, sal_uInt16 nMonth1, sal_uInt16 nYear1, sal_Bool bLeapYear1, in GetDiffDate360() argument
277 if( nDay1 == 31 ) in GetDiffDate360()
278 nDay1--; in GetDiffDate360()
279 else if( bUSAMethod && ( nMonth1 == 2 && ( nDay1 == 29 || ( nDay1 == 28 && !bLeapYear1 ) ) ) ) in GetDiffDate360()
280 nDay1 = 30; in GetDiffDate360()
284 if( bUSAMethod && nDay1 != 30 ) in GetDiffDate360()
300 return nDay2 + nMonth2 * 30 + nYear2 * 360 - nDay1 - nMonth1 * 30 - nYear1 * 360; in GetDiffDate360()
309 sal_uInt16 nDay1, nMonth1, nYear1, nDay2, nMonth2, nYear2; in GetDiffDate360() local
311 DaysToDate( nDate1, nDay1, nMonth1, nYear1 ); in GetDiffDate360()
314 …return GetDiffDate360( nDay1, nMonth1, nYear1, IsLeapYear( nYear1 ), nDay2, nMonth2, nYear2, bUSAM… in GetDiffDate360()
350 sal_uInt16 nDay1, nDay2; in GetDiffParam() local
354 DaysToDate( nDate1, nDay1, nMonth1, nYear1 ); in GetDiffParam()
367 nDayDiff = GetDiffDate360( nDay1, nMonth1, nYear1, IsLeapYear( nYear1 ), in GetDiffParam()
375 if( nYears && ( nMonth1 > nMonth2 || ( nMonth1 == nMonth2 && nDay1 > nDay2 ) ) ) in GetDiffParam()
379 nDayDiff = nDate2 - DateToDays( nDay1, nMonth1, nYear2 ); in GetDiffParam()