Searched refs:nTempDays (Results 1 – 5 of 5) sorted by relevance
101 long nTempDays; in DaysToDate() local107 nTempDays = (long)nDays; in DaysToDate()112 if ( nTempDays < 1 ) in DaysToDate()119 if ( nTempDays > 365 ) in DaysToDate()367 nTempDays += nDays; in operator +=()370 else if ( nTempDays <= 0 ) in operator +=()390 nTempDays -= nDays; in operator -=()393 else if ( nTempDays <= 0 ) in operator -=()415 nTempDays++; in operator ++()432 if ( nTempDays > 1 ) in operator --()[all …]
229 sal_Int32 nTempDays; in implBuildFromRelative() local235 nTempDays = nDays; in implBuildFromRelative()240 if ( nTempDays < 1 ) in implBuildFromRelative()247 if ( nTempDays > 365 ) in implBuildFromRelative()265 rDay = (sal_uInt16)nTempDays; in implBuildFromRelative()303 nTempDays += nDays; in addDays()304 if ( nTempDays > MAX_DAYS ) in addDays()310 else if ( nTempDays <= 0 ) in addDays()324 nTempDays -= nDays; in subDays()325 if ( nTempDays > MAX_DAYS ) in subDays()[all …]
625 sal_Int32 nTempDays; in DaysToDate() local631 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 …]
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 …]
202 sal_Int32 nTempDays; in DaysToDate() local208 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 …]
Completed in 39 milliseconds