Lines Matching refs:sal_Int32

97         aTemp.append( static_cast<sal_Int32>(_rDateTime.HundredthSeconds));  in toDateTimeString()
101 Date DBTypeConversion::toDate(sal_Int32 _nVal) in toDate()
111 Time DBTypeConversion::toTime(sal_Int32 _nVal) in toTime()
123 sal_Int32 DBTypeConversion::toINT32(const Date& rVal) in toINT32()
125 return ((sal_Int32)(rVal.Day%100)) + in toINT32()
126 (((sal_Int32)(rVal.Month%100))*100) + in toINT32()
127 (((sal_Int32) rVal.Year%10000)*10000); in toINT32()
131 sal_Int32 DBTypeConversion::toINT32(const Time& rVal) in toINT32()
134 sal_Int32 nSeconds = rVal.Seconds + rVal.HundredthSeconds / 100; in toINT32()
135 sal_Int32 nHundredthSeconds = rVal.HundredthSeconds % 100; in toINT32()
136 sal_Int32 nMinutes = rVal.Minutes + nSeconds / 60; in toINT32()
138 sal_Int32 nHours = rVal.Hours + nMinutes / 60; in toINT32()
142 … return (sal_Int32)(nHundredthSeconds + (nSeconds*100) + (nMinutes*10000) + (nHours*1000000)); in toINT32()
149 sal_Int32 nSeconds = rVal.Seconds + rVal.HundredthSeconds / 100; in toINT64()
150 sal_Int32 nHundredthSeconds = rVal.HundredthSeconds % 100; in toINT64()
151 sal_Int32 nMinutes = rVal.Minutes + nSeconds / 60; in toINT64()
153 sal_Int32 nHours = rVal.Hours + nMinutes / 60; in toINT64()
157sal_Int32 nTime = (sal_Int32)(nHundredthSeconds + (nSeconds*100) + (nMinutes*10000) + (nHours*1000… in toINT64()
158sal_Int32 nDate = ((sal_Int32)(rVal.Day%100)) + (((sal_Int32)(rVal.Month%100))*100) + (((sal_Int32 in toINT64()
169 sal_Int32 DBTypeConversion::getMsFromTime(const Time& rVal) in getMsFromTime()
171 sal_Int32 nHour = rVal.Hours; in getMsFromTime()
172 sal_Int32 nMin = rVal.Minutes; in getMsFromTime()
173 sal_Int32 nSec = rVal.Seconds; in getMsFromTime()
174 sal_Int32 n100Sec = rVal.HundredthSeconds; in getMsFromTime()
180 static sal_Int32 aDaysInMonth[12] = { 31, 28, 31, 30, 31, 30,
184 static sal_Bool implIsLeapYear(sal_Int32 _nYear) in implIsLeapYear()
195 static sal_Int32 implDaysInMonth(sal_Int32 _nMonth, sal_Int32 _nYear) in implDaysInMonth()
210 static sal_Int32 implRelativeToAbsoluteNull(const Date& _rDate) in implRelativeToAbsoluteNull()
212 sal_Int32 nDays = 0; in implRelativeToAbsoluteNull()
215 sal_Int32 nNormalizedYear = _rDate.Year - 1; in implRelativeToAbsoluteNull()
220 for (sal_Int32 i = 1; i < _rDate.Month; ++i) in implRelativeToAbsoluteNull()
227 …static void implBuildFromRelative( sal_Int32 nDays, sal_uInt16& rDay, sal_uInt16& rMonth, sal_uInt… in implBuildFromRelative()
229 sal_Int32 nTempDays; in implBuildFromRelative()
230 sal_Int32 i = 0; in implBuildFromRelative()
268 sal_Int32 DBTypeConversion::toDays(const Date& _rVal, const Date& _rNullDate) in toDays()
299 static void addDays(sal_Int32 nDays, Date& _rDate) in addDays()
301 sal_Int32 nTempDays = implRelativeToAbsoluteNull( _rDate ); in addDays()
320 static void subDays( sal_Int32 nDays, Date& _rDate ) in subDays()
322 sal_Int32 nTempDays = implRelativeToAbsoluteNull( _rDate ); in subDays()
346 addDays((sal_Int32)dVal,aRet); in toDate()
356 sal_Int32 nDays = (sal_Int32)dVal; in toTime()
357 sal_Int32 nMS = sal_Int32((dVal - (double)nDays) * fMilliSecondsPerDay + 0.5); in toTime()
371 sal_Int32 nHundredthSeconds = nMS/10; in toTime()
372 sal_Int32 nSeconds = nHundredthSeconds / 100; in toTime()
373 sal_Int32 nMinutes = nSeconds / 60; in toTime()
381sal_Int32 nTime = (sal_Int32)(xRet.HundredthSeconds + (xRet.Seconds*100) + (xRet.Minutes*10000) + … in toTime()
418 sal_Int32 nIndex = 0; in toDate()
443 sal_Int32 nSeparation = _sSQLString.indexOf( ' ' ); in toDateTime()
455 sal_Int32 nIndex = 0; in toTime()
472 sNano = sNano.copy(0,::std::min<sal_Int32>(sNano.getLength(),2)); in toTime()