Home
last modified time | relevance | path

Searched refs:rYear (Results 1 – 5 of 5) sorted by path

/trunk/main/connectivity/source/commontools/
H A Ddbconversion.cxx227 …id implBuildFromRelative( sal_Int32 nDays, sal_uInt16& rDay, sal_uInt16& rMonth, sal_uInt16& rYear) in implBuildFromRelative() argument
236 rYear = (sal_uInt16)((nTempDays / 365) - i); in implBuildFromRelative()
237 nTempDays -= (rYear-1) * 365; in implBuildFromRelative()
238 nTempDays -= ((rYear-1) / 4) - ((rYear-1) / 100) + ((rYear-1) / 400); in implBuildFromRelative()
249 if ( (nTempDays != 366) || !implIsLeapYear( rYear ) ) in implBuildFromRelative()
260 while ( nTempDays > implDaysInMonth( rMonth, rYear ) ) in implBuildFromRelative()
262 nTempDays -= implDaysInMonth( rMonth, rYear ); in implBuildFromRelative()
/trunk/main/scaddins/source/analysis/
H A Danalysishelper.cxx196 void DaysToDate( sal_Int32 nDays, sal_uInt16& rDay, sal_uInt16& rMonth, sal_uInt16& rYear ) in DaysToDate() argument
209 rYear = (sal_uInt16)((nTempDays / 365) - i); in DaysToDate()
210 nTempDays -= ((sal_Int32) rYear -1) * 365; in DaysToDate()
211 nTempDays -= (( rYear -1) / 4) - (( rYear -1) / 100) + ((rYear -1) / 400); in DaysToDate()
222 if ( (nTempDays != 366) || !IsLeapYear( rYear ) ) in DaysToDate()
233 while ( (sal_Int32)nTempDays > DaysInMonth( rMonth, rYear ) ) in DaysToDate()
235 nTempDays -= DaysInMonth( rMonth, rYear ); in DaysToDate()
H A Danalysishelper.hxx65 void DaysToDate( sal_Int32 nDays, sal_uInt16& rDay, sal_uInt16& rMonth, sal_uInt16& rYear ) thro…
/trunk/main/scaddins/source/datefunc/
H A Ddatefunc.cxx619 sal_uInt16& rDay, sal_uInt16& rMonth, sal_uInt16& rYear ) in DaysToDate() argument
632 rYear = (sal_uInt16)((nTempDays / 365) - i); in DaysToDate()
633 nTempDays -= ((sal_Int32) rYear -1) * 365; in DaysToDate()
634 nTempDays -= (( rYear -1) / 4) - (( rYear -1) / 100) + ((rYear -1) / 400); in DaysToDate()
645 if ( (nTempDays != 366) || !IsLeapYear( rYear ) ) in DaysToDate()
656 while ( (sal_Int32)nTempDays > DaysInMonth( rMonth, rYear ) ) in DaysToDate()
658 nTempDays -= DaysInMonth( rMonth, rYear ); in DaysToDate()
/trunk/main/tools/source/datetime/
H A Dtdate.cxx99 sal_uInt16& rDay, sal_uInt16& rMonth, sal_uInt16& rYear ) in DaysToDate() argument
108 rYear = (sal_uInt16)((nTempDays / 365) - i); in DaysToDate()
109 nTempDays -= ((sal_uIntPtr)rYear-1) * 365; in DaysToDate()
110 nTempDays -= ((rYear-1) / 4) - ((rYear-1) / 100) + ((rYear-1) / 400); in DaysToDate()
121 if ( (nTempDays != 366) || !ImpIsLeapYear( rYear ) ) in DaysToDate()
132 while ( (sal_uIntPtr)nTempDays > DaysInMonth( rMonth, rYear ) ) in DaysToDate()
134 nTempDays -= DaysInMonth( rMonth, rYear ); in DaysToDate()

Completed in 47 milliseconds