diff options
Diffstat (limited to 'lib-common/inc/Common/Format.h')
-rw-r--r-- | lib-common/inc/Common/Format.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib-common/inc/Common/Format.h b/lib-common/inc/Common/Format.h index f50bb20..dc80557 100644 --- a/lib-common/inc/Common/Format.h +++ b/lib-common/inc/Common/Format.h @@ -18,6 +18,7 @@ #define COMMON_FORMAT_H #include <ctime> +#include <string> #include <tizen.h> #include "Utils/Range.h" @@ -56,17 +57,17 @@ namespace Common /** * @brief Create string representation for given date. - * @param[in] date Time to format + * @param[in] date Date to format * @return Formatted date. */ - EXPORT_API const char *formatDate(const tm &date); + EXPORT_API std::string formatDate(const tm &date); /** * @brief Create string representation for given date for Screen Reader. - * @param[in] date Time to format + * @param[in] date Date to format * @return Formatted date. */ - EXPORT_API const char *formatVerbalDate(const tm &date); + EXPORT_API std::string formatVerbalDate(const tm &date); /** * @brief Create string representation for weekly repeat mask. |