45 RESOLUTION_MILLISECOND
64 static String dateToString(
const boost::posix_time::ptime& date,
Resolution resolution);
70 static String timeToString(int64_t time,
Resolution resolution);
76 static int64_t stringToTime(
const String& dateString);
81 static boost::posix_time::ptime stringToDate(
const String& dateString);
87 static boost::posix_time::ptime round(
const boost::posix_time::ptime& date,
Resolution resolution);
94 static int64_t round(int64_t time,
Resolution resolution);
106 static boost::posix_time::ptime parseDate(
const String& dateString, std::locale locale = std::locale());