LibreOffice Module connectivity (master) 1
Namespaces | Functions
dbconversion.hxx File Reference
#include <com/sun/star/util/Date.hpp>
#include <connectivity/dbtoolsdllapi.hxx>
Include dependency graph for dbconversion.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::uno
 
namespace  com::sun::star::lang
 
namespace  com::sun::star::sdb
 
namespace  com::sun::star::beans
 
namespace  com::sun::star::util
 
namespace  com::sun::star::script
 
namespace  dbtools
 
namespace  dbtools::DBTypeConversion
 

Functions

OOO_DLLPUBLIC_DBTOOLS css::util::Date const & dbtools::DBTypeConversion::getStandardDate ()
 
OOO_DLLPUBLIC_DBTOOLS void dbtools::DBTypeConversion::setValue (const css::uno::Reference< css::sdb::XColumnUpdate > &xVariant, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter, const css::util::Date &rNullDate, const OUString &rString, sal_Int32 nKey, sal_Int16 nFieldType, sal_Int16 nKeyType)
 
OOO_DLLPUBLIC_DBTOOLS void dbtools::DBTypeConversion::setValue (const css::uno::Reference< css::sdb::XColumnUpdate > &xVariant, const css::util::Date &rNullDate, const double &rValue, sal_Int16 nKeyType)
 
OOO_DLLPUBLIC_DBTOOLS double dbtools::DBTypeConversion::getValue (const css::uno::Reference< css::sdb::XColumn > &xVariant, const css::util::Date &rNullDate)
 
OOO_DLLPUBLIC_DBTOOLS OUString dbtools::DBTypeConversion::getFormattedValue (const css::uno::Reference< css::beans::XPropertySet > &_xColumn, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter, const css::lang::Locale &_rLocale, const css::util::Date &rNullDate)
 
OOO_DLLPUBLIC_DBTOOLS OUString dbtools::DBTypeConversion::getFormattedValue (const css::uno::Reference< css::sdb::XColumn > &_xColumn, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter, const css::util::Date &rNullDate, sal_Int32 nKey, sal_Int16 nKeyType)
 
OOO_DLLPUBLIC_DBTOOLS css::util::Date dbtools::DBTypeConversion::toDate (double dVal, const css::util::Date &_rNullDate=getStandardDate())
 
OOO_DLLPUBLIC_DBTOOLS css::util::Date dbtools::DBTypeConversion::toDate (std::u16string_view _sSQLDate)
 
OOO_DLLPUBLIC_DBTOOLS css::util::Time dbtools::DBTypeConversion::toTime (double dVal, short nDigits=9)
 
OOO_DLLPUBLIC_DBTOOLS css::util::Time dbtools::DBTypeConversion::toTime (std::u16string_view _sSQLDate)
 
OOO_DLLPUBLIC_DBTOOLS css::util::DateTime dbtools::DBTypeConversion::toDateTime (double dVal, const css::util::Date &_rNullDate=getStandardDate())
 
OOO_DLLPUBLIC_DBTOOLS css::util::DateTime dbtools::DBTypeConversion::toDateTime (const OUString &_sSQLDate)
 
OOO_DLLPUBLIC_DBTOOLS sal_Int64 dbtools::DBTypeConversion::getNsFromTime (const css::util::Time &rVal)
 
OOO_DLLPUBLIC_DBTOOLS sal_Int32 dbtools::DBTypeConversion::toDays (const css::util::Date &_rVal, const css::util::Date &_rNullDate=getStandardDate())
 
OOO_DLLPUBLIC_DBTOOLS double dbtools::DBTypeConversion::toDouble (const css::util::Date &rVal, const css::util::Date &_rNullDate=getStandardDate())
 
OOO_DLLPUBLIC_DBTOOLS double dbtools::DBTypeConversion::toDouble (const css::util::Time &rVal)
 
OOO_DLLPUBLIC_DBTOOLS double dbtools::DBTypeConversion::toDouble (const css::util::DateTime &rVal, const css::util::Date &_rNullDate=getStandardDate())
 
OOO_DLLPUBLIC_DBTOOLS css::util::Date dbtools::DBTypeConversion::toDate (sal_Int32 _nVal)
 
OOO_DLLPUBLIC_DBTOOLS css::util::Time dbtools::DBTypeConversion::toTime (sal_Int64 _nVal)
 
double dbtools::DBTypeConversion::toNullDate (const css::util::Date &_rNullDate, double _rVal)
 convert a double which is a date value relative to the standard db null date into a date value relative to a given fixed date. More...
 
OOO_DLLPUBLIC_DBTOOLS css::util::Date dbtools::DBTypeConversion::getNULLDate (const css::uno::Reference< css::util::XNumberFormatsSupplier > &xSupplier)
 
OOO_DLLPUBLIC_DBTOOLS OUString dbtools::DBTypeConversion::toDateString (const css::util::Date &rDate)
 
OOO_DLLPUBLIC_DBTOOLS OUString dbtools::DBTypeConversion::toTimeStringS (const css::util::Time &rTime)
 
OOO_DLLPUBLIC_DBTOOLS OUString dbtools::DBTypeConversion::toTimeString (const css::util::Time &rTime)
 
OOO_DLLPUBLIC_DBTOOLS OUString dbtools::DBTypeConversion::toDateTimeString (const css::util::DateTime &_rDateTime)
 
OOO_DLLPUBLIC_DBTOOLS OUString dbtools::DBTypeConversion::toSQLString (sal_Int32 eType, const css::uno::Any &_rVal, const css::uno::Reference< css::script::XTypeConverter > &_rxTypeConverter)
 
OOO_DLLPUBLIC_DBTOOLS sal_Int32 dbtools::DBTypeConversion::convertUnicodeString (const OUString &_rSource, OString &_rDest, rtl_TextEncoding _eEncoding)
 converts a Unicode string into a 8-bit string, using the given encoding More...
 
OOO_DLLPUBLIC_DBTOOLS sal_Int32 dbtools::DBTypeConversion::convertUnicodeStringToLength (const OUString &_rSource, OString &_rDest, sal_Int32 _nMaxLen, rtl_TextEncoding _eEncoding)
 converts a Unicode string into a 8-bit string, using the given encoding More...