Home
last modified time | relevance | path

Searched refs:_nVal (Results 1 – 5 of 5) sorted by relevance

/trunk/main/connectivity/source/commontools/
H A Ddbconversion.cxx101 Date DBTypeConversion::toDate(sal_Int32 _nVal) in toDate() argument
104 aReturn.Day = (sal_uInt16)(_nVal % 100); in toDate()
105 aReturn.Month = (sal_uInt16)((_nVal / 100) % 100); in toDate()
106 aReturn.Year = (sal_uInt16)(_nVal / 10000); in toDate()
111 Time DBTypeConversion::toTime(sal_Int32 _nVal) in toTime() argument
114 aReturn.Hours = (sal_uInt16)(((sal_uInt32)(_nVal >= 0 ? _nVal : _nVal*-1)) / 1000000); in toTime()
115 … aReturn.Minutes = (sal_uInt16)((((sal_uInt32)(_nVal >= 0 ? _nVal : _nVal*-1)) / 10000) % 100); in toTime()
116 aReturn.Seconds = (sal_uInt16)((((sal_uInt32)(_nVal >= 0 ? _nVal : _nVal*-1)) / 100) % 100); in toTime()
117 … aReturn.HundredthSeconds = (sal_uInt16)(((sal_uInt32)(_nVal >= 0 ? _nVal : _nVal*-1)) % 100); in toTime()
H A DTSortIndex.cxx169 OKeyValue* OKeyValue::createKeyValue(sal_Int32 _nVal) in createKeyValue() argument
171 return new OKeyValue(_nVal); in createKeyValue()
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/
H A DDBTypeConversion.java344 public static Time toTime(int _nVal) { in toTime() argument
346 aReturn.Hours = (short)(((int)(_nVal >= 0 ? _nVal : _nVal*-1)) / 1000000); in toTime()
347 aReturn.Minutes = (short)((((int)(_nVal >= 0 ? _nVal : _nVal*-1)) / 10000) % 100); in toTime()
348 aReturn.Seconds = (short)((((int)(_nVal >= 0 ? _nVal : _nVal*-1)) / 100) % 100); in toTime()
349 aReturn.HundredthSeconds = (short)(((int)(_nVal >= 0 ? _nVal : _nVal*-1)) % 100); in toTime()
/trunk/main/connectivity/inc/connectivity/
H A Ddbconversion.hxx136 static ::com::sun::star::util::Date toDate(sal_Int32 _nVal);
137 static ::com::sun::star::util::Time toTime(sal_Int32 _nVal);
/trunk/main/sw/source/ui/dbui/
H A Ddbmgr.cxx1314 sal_Int16 _nVal; in MergeMailFiles() local
1322 aVal >>= _nVal; in MergeMailFiles()

Completed in 57 milliseconds