Lines Matching refs:nDays1
232 * nWeek1= ( nDays1 - nJan4 + ( (nJan4-1) % 7 ) ) / 7 + 1;
247 * nWeek = ( (nDays2-nJan4+((nJan4-1)%7))/7 ) - ( (nDays1-nJan4+((nJan4-1)%7))/7 )
265 long nDays1=0;
269 if ( d1 ) nDays1=(long)floor(*d1)+nNullDate;
280 DaysToDate(nDays1,&nDay,&nMonth,&nYear);
283 *r=(double) ( ( (nDays2-nJan4+((nJan4-1)%7))/7 ) - ( (nDays1-nJan4+((nJan4-1)%7))/7 ) );
287 *r= (double) ( (nDays2 - nDays1) / 7 ) ;
312 long nDays1=0;
318 if ( d1 ) nDays1=(long)floor(*d1)+nNullDate;
321 DaysToDate(nDays1,&nDay1,&nMonth1,&nYear1);
325 if ( nMode == 1 || nDays1 == nDays2 ) return;
327 if ( nDays1 < nDays2 ) {
359 long nDays1=0;
365 if ( d1 ) nDays1=(long)floor(*d1)+nNullDate;
368 DaysToDate(nDays1,&nDay1,&nMonth1,&nYear1);