Lines Matching refs:nFirstDay
1833 sal_Int16 nFirstDay = 0; in RTLFUNC() local
1836 nFirstDay = rPar.Get(3)->GetInteger(); in RTLFUNC()
1837 if( nFirstDay < 0 || nFirstDay > 7 ) in RTLFUNC()
1843 if( nFirstDay == 0 ) in RTLFUNC()
1844 nFirstDay = sal_Int16( xCalendar->getFirstDayOfWeek() + 1 ); in RTLFUNC()
1846 nDay = 1 + (nDay + nDayCount + nFirstDay - 2) % nDayCount; in RTLFUNC()
1868 sal_Int16 implGetWeekDay( double aDate, bool bFirstDayParam = false, sal_Int16 nFirstDay = 0 ) in implGetWeekDay() argument
1884 if( nFirstDay < 0 || nFirstDay > 7 ) in implGetWeekDay()
1889 if( nFirstDay == 0 ) in implGetWeekDay()
1897 nFirstDay = sal_Int16( xCalendar->getFirstDayOfWeek() + 1 ); in implGetWeekDay()
1899 nDay = 1 + (nDay + 7 - nFirstDay) % 7; in implGetWeekDay()
1917 sal_Int16 nFirstDay = 0; in RTLFUNC() local
1920 nFirstDay = rPar.Get(2)->GetInteger(); in RTLFUNC()
1923 sal_Int16 nDay = implGetWeekDay( aDate, bFirstDay, nFirstDay ); in RTLFUNC()
2209 sal_Int16 nFirstDay = 1; // Default in RTLFUNC() local
2212 nFirstDay = rPar.Get(4)->GetInteger(); in RTLFUNC()
2213 if( nFirstDay < 0 || nFirstDay > 7 ) in RTLFUNC()
2218 if( nFirstDay == 0 ) in RTLFUNC()
2226 nFirstDay = sal_Int16( xCalendar->getFirstDayOfWeek() + 1 ); in RTLFUNC()
2230 sal_Int16 nDay1_Diff = nDay1 - nFirstDay; in RTLFUNC()
2236 sal_Int16 nDay2_Diff = nDay2 - nFirstDay; in RTLFUNC()
2271 ( sal_Int16 nYear, sal_Int16& nFirstDay, sal_Int16& nFirstWeek, bool* pbError = NULL ) in implGetDateOfFirstDayInFirstWeek() argument
2274 if( nFirstDay < 0 || nFirstDay > 7 ) in implGetDateOfFirstDayInFirstWeek()
2281 if( nFirstDay == 0 || nFirstWeek == 0 ) in implGetDateOfFirstDayInFirstWeek()
2296 if( nFirstDay == 0 ) in implGetDateOfFirstDayInFirstWeek()
2297 nFirstDay = sal_Int16( xCalendar->getFirstDayOfWeek() + 1 ); in implGetDateOfFirstDayInFirstWeek()
2323 sal_Int16 nDayDiff = nWeekDay0101 - nFirstDay; in implGetDateOfFirstDayInFirstWeek()
2395 sal_Int16 nFirstDay = 1; // Default in RTLFUNC() local
2398 nFirstDay = rPar.Get(3)->GetInteger(); in RTLFUNC()
2401 nRet = implGetWeekDay( dDate, bFirstDay, nFirstDay ); in RTLFUNC()
2406 sal_Int16 nFirstDay = 1; // Default in RTLFUNC() local
2408 nFirstDay = rPar.Get(3)->GetInteger(); in RTLFUNC()
2416 double dYearFirstDay = implGetDateOfFirstDayInFirstWeek( nYear, nFirstDay, nFirstWeek, &bError ); in RTLFUNC()
2422 dYearFirstDay = implGetDateOfFirstDayInFirstWeek( nYear - 1, nFirstDay, nFirstWeek ); in RTLFUNC()
2427 … double dNextYearFirstDay = implGetDateOfFirstDayInFirstWeek( nYear + 1, nFirstDay, nFirstWeek ); in RTLFUNC()