Lines Matching refs:rVal

123     sal_Int32 DBTypeConversion::toINT32(const Date& rVal)  in toINT32()  argument
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() argument
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()
146 sal_Int64 DBTypeConversion::toINT64(const DateTime& rVal) in toINT64() argument
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()
158 …sal_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() argument
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()
274 double DBTypeConversion::toDouble(const Date& rVal, const Date& _rNullDate) in toDouble() argument
276 return (double)toDays(rVal, _rNullDate); in toDouble()
280 double DBTypeConversion::toDouble(const Time& rVal) in toDouble() argument
282 return (double)getMsFromTime(rVal) / fMilliSecondsPerDay; in toDouble()