#pragma once #include "RedisCache.h" template <> inline trantor::Date fromString(const std::string &str) { return trantor::Date(std::atoll(str.data())); } template <> inline std::string toString(const trantor::Date &date) { return std::to_string(date.microSecondsSinceEpoch()); }