Home
last modified time | relevance | path

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

/aoo42x/main/sc/addin/datefunc/
H A Ddfa.cl232 * nWeek1= ( nDays1 - nJan4 + ( (nJan4-1) % 7 ) ) / 7 + 1;
234 * calculates a number between 0-53 for each day which is in the same year as nJan4
240 * nWeek2 = ( nDays2 - nJan4 + ( (nJan4-1) % 7 ) ) / 7 + 1;
247 * nWeek = ( (nDays2-nJan4+((nJan4-1)%7))/7 ) - ( (nDays1-nJan4+((nJan4-1)%7))/7 )
278 long nJan4;
281 nJan4=DateToDays(4,1,nYear);
283 *r=(double) ( ( (nDays2-nJan4+((nJan4-1)%7))/7 ) - ( (nDays1-nJan4+((nJan4-1)%7))/7 ) );
/aoo42x/main/scaddins/source/datefunc/
H A Ddatefunc.cxx765 sal_Int32 nJan4 = DateToDays( 4, 1, nYear ); in getDiffWeeks() local
767 nRet = ( (nDays2-nJan4+((nJan4-1)%7))/7 ) - ( (nDays1-nJan4+((nJan4-1)%7))/7 ); in getDiffWeeks()

Completed in 13 milliseconds