Home
last modified time | relevance | path

Searched refs:_sSQLString (Results 1 – 2 of 2) sorted by relevance

/aoo41x/main/connectivity/source/commontools/
H A Ddbconversion.cxx413 Date DBTypeConversion::toDate(const ::rtl::OUString& _sSQLString) in toDate() argument
422 nYear = (sal_uInt16)_sSQLString.getToken(0,sDateSep,nIndex).toInt32(); in toDate()
425 nMonth = (sal_uInt16)_sSQLString.getToken(0,sDateSep,nIndex).toInt32(); in toDate()
434 DateTime DBTypeConversion::toDateTime(const ::rtl::OUString& _sSQLString) in toDateTime() argument
441 Date aDate = toDate(_sSQLString); in toDateTime()
443 sal_Int32 nSeparation = _sSQLString.indexOf( ' ' ); in toDateTime()
445 aTime = toTime( _sSQLString.copy( nSeparation ) ); in toDateTime()
451 Time DBTypeConversion::toTime(const ::rtl::OUString& _sSQLString) in toTime() argument
460 nHour = (sal_uInt16)_sSQLString.getToken(0,sTimeSep,nIndex).toInt32(); in toTime()
463 nMinute = (sal_uInt16)_sSQLString.getToken(0,sTimeSep,nIndex).toInt32(); in toTime()
[all …]
/aoo41x/main/ucb/source/ucp/odma/
H A Dodma_provider.cxx302 util::Date toDate(const ::rtl::OString& _sSQLString) in toDate() argument
307 nYear = (sal_uInt16)_sSQLString.copy(0,4).toInt32(); in toDate()
308 nMonth = (sal_uInt16)_sSQLString.copy(4,2).toInt32(); in toDate()
309 nDay = (sal_uInt16)_sSQLString.copy(6,2).toInt32(); in toDate()
314 util::Time toTime(const ::rtl::OString& _sSQLString) in toTime() argument
319 nHour = (sal_uInt16)_sSQLString.copy(8,2).toInt32(); in toTime()
320 nMinute = (sal_uInt16)_sSQLString.copy(10,2).toInt32(); in toTime()
321 nSecond = (sal_uInt16)_sSQLString.copy(12,2).toInt32(); in toTime()
326 util::DateTime toDateTime(const ::rtl::OString& _sSQLString) in toDateTime() argument
328 util::Date aDate = toDate(_sSQLString); in toDateTime()
[all …]

Completed in 14 milliseconds