Home
last modified time | relevance | path

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

/trunk/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 …]
/trunk/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 …]
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/
H A DDBTypeConversion.java324 public static DateTime toDateTime(String _sSQLString) { in toDateTime() argument
326 int nSeparation = _sSQLString.indexOf( ' ' ); in toDateTime()
330 dateString = _sSQLString.substring(0, nSeparation); in toDateTime()
331 timeString = _sSQLString.substring(nSeparation + 1); in toDateTime()
333 dateString = _sSQLString; in toDateTime()
391 public static Time toTime(String _sSQLString) { in toTime() argument
396 StringTokenizer tokenizer = new StringTokenizer(_sSQLString, ":"); in toTime()

Completed in 27 milliseconds