Home
last modified time | relevance | path

Searched refs:toDays (Results 1 – 6 of 6) sorted by relevance

/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/
H A DDBTypeConversion.java230 public static int toDays(Date rVal) { in toDays() method in DBTypeConversion
231 return toDays(rVal, getStandardDate()); in toDays()
234 public static int toDays(Date rVal, Date rNullDate) { in toDays() method in DBTypeConversion
243 return (double)toDays(rVal, _rNullDate); in toDouble()
251 long nTime = toDays(new Date(_rVal.Day, _rVal.Month, _rVal.Year), _rNullDate); in toDouble()
H A DORowSetValue.java898 nRet = DBTypeConversion.toDays((Date)value); in getInt32()
954 nRet = DBTypeConversion.toDays((Date)value); in getLong()
/trunk/main/connectivity/inc/connectivity/
H A Ddbconversion.hxx127 …static sal_Int32 toDays(const ::com::sun::star::util::Date& _rVal, const ::com::sun::star::util::D…
142 …onst ::com::sun::star::util::Date& _rNullDate, double _rVal) { return _rVal + toDays(_rNullDate); } in toStandardDbDate()
146 …onst ::com::sun::star::util::Date& _rNullDate, double _rVal) { return _rVal - toDays(_rNullDate); } in toNullDate()
/trunk/main/connectivity/source/commontools/
H A Ddbconversion.cxx268 sal_Int32 DBTypeConversion::toDays(const Date& _rVal, const Date& _rNullDate) in toDays() function in dbtools::DBTypeConversion
276 return (double)toDays(rVal, _rNullDate); in toDouble()
288 sal_Int64 nTime = toDays(Date(_rVal.Day, _rVal.Month, _rVal.Year), _rNullDate); in toDouble()
H A DDateConversion.cxx481 fValue -= toDays( rNullDate, aFormatterNullDate ); in getFormattedValue()
H A DFValue.cxx1344 nRet = dbtools::DBTypeConversion::toDays(*(::com::sun::star::util::Date*)m_aValue.m_pValue); in getInt32()
1417 nRet = dbtools::DBTypeConversion::toDays(*(::com::sun::star::util::Date*)m_aValue.m_pValue); in getLong()

Completed in 45 milliseconds