diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-06-27 08:59:58 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-06-27 09:29:33 +0200 |
commit | 1b0a43142b27286e717f63c90363625a1aeff74c (patch) | |
tree | 90498ff44e57a8062d06d6ecc516b58af05e583d /include/connectivity | |
parent | 83dc5c075884dfdb71952aa2617cc6f63dcc56ad (diff) |
new dbtools::DBTypeConversion::toTimeStringS for time in second precision
(no fractional second)
Change-Id: I8bf448783b24fceae9a750f40887d6296999b203
Diffstat (limited to 'include/connectivity')
-rw-r--r-- | include/connectivity/dbconversion.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/connectivity/dbconversion.hxx b/include/connectivity/dbconversion.hxx index 9536c799ec81..4bc0ed722422 100644 --- a/include/connectivity/dbconversion.hxx +++ b/include/connectivity/dbconversion.hxx @@ -141,6 +141,8 @@ namespace dbtools // return the date in the format %04d-%02d-%02d static OUString toDateString(const ::com::sun::star::util::Date& rDate); + // return the time in the format %02d:%02d:%02d + static OUString toTimeStringS(const ::com::sun::star::util::Time& rTime); // return the time in the format %02d:%02d:%02d.%09d static OUString toTimeString(const ::com::sun::star::util::Time& rTime); // return the DateTime in the format %04d-%02d-%02d %02d:%02d:%02d.%09d |