Lines Matching refs:nFirstDay

1836     sal_Int16 nFirstDay = 0;  in RTLFUNC()  local
1839 nFirstDay = rPar.Get(3)->GetInteger(); in RTLFUNC()
1840 if( nFirstDay < 0 || nFirstDay > 7 ) in RTLFUNC()
1846 if( nFirstDay == 0 ) in RTLFUNC()
1847 nFirstDay = sal_Int16( xCalendar->getFirstDayOfWeek() + 1 ); in RTLFUNC()
1849 nDay = 1 + (nDay + nDayCount + nFirstDay - 2) % nDayCount; in RTLFUNC()
1871 sal_Int16 implGetWeekDay( double aDate, bool bFirstDayParam = false, sal_Int16 nFirstDay = 0 ) in implGetWeekDay() argument
1887 if( nFirstDay < 0 || nFirstDay > 7 ) in implGetWeekDay()
1892 if( nFirstDay == 0 ) in implGetWeekDay()
1900 nFirstDay = sal_Int16( xCalendar->getFirstDayOfWeek() + 1 ); in implGetWeekDay()
1902 nDay = 1 + (nDay + 7 - nFirstDay) % 7; in implGetWeekDay()
1920 sal_Int16 nFirstDay = 0; in RTLFUNC() local
1923 nFirstDay = rPar.Get(2)->GetInteger(); in RTLFUNC()
1926 sal_Int16 nDay = implGetWeekDay( aDate, bFirstDay, nFirstDay ); in RTLFUNC()
2212 sal_Int16 nFirstDay = 1; // Default in RTLFUNC() local
2215 nFirstDay = rPar.Get(4)->GetInteger(); in RTLFUNC()
2216 if( nFirstDay < 0 || nFirstDay > 7 ) in RTLFUNC()
2221 if( nFirstDay == 0 ) in RTLFUNC()
2229 nFirstDay = sal_Int16( xCalendar->getFirstDayOfWeek() + 1 ); in RTLFUNC()
2233 sal_Int16 nDay1_Diff = nDay1 - nFirstDay; in RTLFUNC()
2239 sal_Int16 nDay2_Diff = nDay2 - nFirstDay; in RTLFUNC()
2274 ( sal_Int16 nYear, sal_Int16& nFirstDay, sal_Int16& nFirstWeek, bool* pbError = NULL ) in implGetDateOfFirstDayInFirstWeek() argument
2277 if( nFirstDay < 0 || nFirstDay > 7 ) in implGetDateOfFirstDayInFirstWeek()
2284 if( nFirstDay == 0 || nFirstWeek == 0 ) in implGetDateOfFirstDayInFirstWeek()
2299 if( nFirstDay == 0 ) in implGetDateOfFirstDayInFirstWeek()
2300 nFirstDay = sal_Int16( xCalendar->getFirstDayOfWeek() + 1 ); in implGetDateOfFirstDayInFirstWeek()
2326 sal_Int16 nDayDiff = nWeekDay0101 - nFirstDay; in implGetDateOfFirstDayInFirstWeek()
2398 sal_Int16 nFirstDay = 1; // Default in RTLFUNC() local
2401 nFirstDay = rPar.Get(3)->GetInteger(); in RTLFUNC()
2404 nRet = implGetWeekDay( dDate, bFirstDay, nFirstDay ); in RTLFUNC()
2409 sal_Int16 nFirstDay = 1; // Default in RTLFUNC() local
2411 nFirstDay = rPar.Get(3)->GetInteger(); in RTLFUNC()
2419 … double dYearFirstDay = implGetDateOfFirstDayInFirstWeek( nYear, nFirstDay, nFirstWeek, &bError ); in RTLFUNC()
2425 … dYearFirstDay = implGetDateOfFirstDayInFirstWeek( nYear - 1, nFirstDay, nFirstWeek ); in RTLFUNC()
2430 … double dNextYearFirstDay = implGetDateOfFirstDayInFirstWeek( nYear + 1, nFirstDay, nFirstWeek ); in RTLFUNC()