Home
last modified time | relevance | path

Searched refs:nDays1 (Results 1 – 2 of 2) sorted by relevance

/aoo4110/main/sc/addin/datefunc/
H A Ddfa.cl265 long nDays1=0;
269 if ( d1 ) nDays1=(long)floor(*d1)+nNullDate;
280 DaysToDate(nDays1,&nDay,&nMonth,&nYear);
287 *r= (double) ( (nDays2 - nDays1) / 7 ) ;
312 long nDays1=0;
318 if ( d1 ) nDays1=(long)floor(*d1)+nNullDate;
321 DaysToDate(nDays1,&nDay1,&nMonth1,&nYear1);
327 if ( nDays1 < nDays2 ) {
359 long nDays1=0;
365 if ( d1 ) nDays1=(long)floor(*d1)+nNullDate;
[all …]
/aoo4110/main/scaddins/source/datefunc/
H A Ddatefunc.cxx756 sal_Int32 nDays1 = nStartDate + nNullDate; in getDiffWeeks() local
764 DaysToDate( nDays1, nDay, nMonth, nYear ); in getDiffWeeks()
767 nRet = ( (nDays2-nJan4+((nJan4-1)%7))/7 ) - ( (nDays1-nJan4+((nJan4-1)%7))/7 ); in getDiffWeeks()
771 nRet = (nDays2 - nDays1) / 7; in getDiffWeeks()
794 sal_Int32 nDays1 = nStartDate + nNullDate; in getDiffMonths() local
799 DaysToDate(nDays1,nDay1,nMonth1,nYear1); in getDiffMonths()
803 if ( nMode == 1 || nDays1 == nDays2 ) return nRet; in getDiffMonths()
805 if ( nDays1 < nDays2 ) in getDiffMonths()
843 sal_Int32 nDays1 = nStartDate + nNullDate; in getDiffYears() local
848 DaysToDate(nDays1,nDay1,nMonth1,nYear1); in getDiffYears()

Completed in 18 milliseconds