diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2018-05-06 06:07:18 +1000 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-07 08:30:28 +0200 |
commit | e2b72039c619b64235fc7cbf12ac40b6b968f984 (patch) | |
tree | 7a9c85bdb985983130319dfffd0610c5c72c45fe /include | |
parent | 16c6c05fbeeffe06d887b29eb52605cd4292bbdd (diff) |
tools: date unit tests
Change-Id: I2b3eaf74173f7f456f04c734dfb7c05c95802809
Reviewed-on: https://gerrit.libreoffice.org/53895
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/date.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/tools/date.hxx b/include/tools/date.hxx index c70d3450399c..69d9e3d03ea3 100644 --- a/include/tools/date.hxx +++ b/include/tools/date.hxx @@ -19,10 +19,14 @@ #ifndef INCLUDED_TOOLS_DATE_HXX #define INCLUDED_TOOLS_DATE_HXX +#include <sal/log.hxx> + #include <tools/toolsdllapi.h> + +#include <ostream> + #include <com/sun/star/util/Date.hpp> #include <com/sun/star/util/DateTime.hpp> -#include <sal/log.hxx> enum DayOfWeek { MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY }; @@ -244,6 +248,8 @@ public: sal_Int32 GetAsNormalizedDays() const; }; +TOOLS_DLLPUBLIC std::ostream& operator<<(std::ostream& os, const Date& rDate); + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |