From 098559ca3552ebd8f80a6d28254f4fa58913b751 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 25 Jul 2016 08:56:48 +0200 Subject: Add DLL export/import support --- butl/timestamp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'butl/timestamp') diff --git a/butl/timestamp b/butl/timestamp index 02f8a92..04a65b7 100644 --- a/butl/timestamp +++ b/butl/timestamp @@ -8,6 +8,8 @@ #include #include +#include + #include namespace butl @@ -75,7 +77,7 @@ namespace butl // - support %(N) version for non-optional printing // - support for suffix %[N], for example %[N nsec] // - std::ostream& + LIBBUTL_EXPORT std::ostream& to_stream (std::ostream&, const timestamp&, const char* format, @@ -88,7 +90,7 @@ namespace butl return to_stream (os, ts, "%Y-%m-%d %H:%M:%S%[.N]", true, true); } - std::ostream& + LIBBUTL_EXPORT std::ostream& operator<< (std::ostream&, const duration&); // Parse human-readable representation of the timestamp. @@ -130,7 +132,7 @@ namespace butl // - ability to parse local, return UTC and vice-versa // - handle timezone parsing // - timestamp + LIBBUTL_EXPORT timestamp from_string (const char* input, const char* format, bool local, -- cgit v1.1