From: Elena Mamontova Date: Tue, 27 Sep 2016 13:08:26 +0000 (+0300) Subject: Ticket 37. formatTime() and readTime() methods declare added. X-Git-Tag: 2.409~69 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/ce8acdcc305bd0f9b8c449dec943b3006d726efc?hp=7320b695badad72772466e1cc49bb28c20b25ccc Ticket 37. formatTime() and readTime() methods declare added. --- diff --git a/stglibs/common.lib/include/stg/common.h b/stglibs/common.lib/include/stg/common.h index af0f89a1..6734a435 100644 --- a/stglibs/common.lib/include/stg/common.h +++ b/stglibs/common.lib/include/stg/common.h @@ -149,6 +149,8 @@ bool WriteAll(int sd, const void * source, size_t size); std::string ToPrintable(const std::string & src); +std::string formatTime(time_t value); +time_t readTime(const std::string & value); //----------------------------------------------------------------------------- int str2x(const std::string & str, int32_t & x); int str2x(const std::string & str, uint32_t & x);