diff options
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: */ |