Searched refs:nTempDays (Results 1 – 5 of 5) sorted by relevance
| /AOO41X/main/tools/source/datetime/ |
| H A D | tdate.cxx | 101 long nTempDays; in DaysToDate() local 107 nTempDays = (long)nDays; in DaysToDate() 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() 112 if ( nTempDays < 1 ) in DaysToDate() 119 if ( nTempDays > 365 ) 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() [all …]
|
| /AOO41X/main/connectivity/source/commontools/ |
| H A D | dbconversion.cxx | 229 sal_Int32 nTempDays; in implBuildFromRelative() local 235 nTempDays = nDays; in implBuildFromRelative() 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() 240 if ( nTempDays < 1 ) in implBuildFromRelative() 247 if ( nTempDays > 365 ) 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() [all …]
|
| /AOO41X/main/scaddins/source/datefunc/ |
| H A D | datefunc.cxx | 625 sal_Int32 nTempDays; in DaysToDate() local 631 nTempDays = nDays; in DaysToDate() 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() 636 if ( nTempDays < 1 ) in DaysToDate() 643 if ( nTempDays > 365 ) 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() [all …]
|
| /AOO41X/main/sc/addin/datefunc/ |
| H A D | dfa.cl | 168 long nTempDays; 174 nTempDays = (long)nDays; 175 *pYear = (USHORT)((nTempDays / 365) - i); 176 nTempDays -= ((ULONG) *pYear -1) * 365; 177 nTempDays -= (( *pYear -1) / 4) - (( *pYear -1) / 100) + ((*pYear -1) / 400); 179 if ( nTempDays < 1 ) 186 if ( nTempDays > 365 ) 188 if ( (nTempDays != 366) || !IsLeapYear( *pYear ) ) 199 while ( (ULONG)nTempDays > DaysInMonth( *pMonth, *pYear ) ) 201 nTempDays -= DaysInMonth( *pMonth, *pYear ); [all …]
|
| /AOO41X/main/scaddins/source/analysis/ |
| H A D | analysishelper.cxx | 202 sal_Int32 nTempDays; in DaysToDate() local 208 nTempDays = nDays; in DaysToDate() 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() 213 if ( nTempDays < 1 ) in DaysToDate() 220 if ( nTempDays > 365 ) 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() [all …]
|