Lines Matching full:std
26 std::optional<std::chrono::milliseconds> fromDurationString(std::string_view v);
33 std::string toDurationString(std::chrono::milliseconds ms);
35 std::optional<std::string> toDurationStringFromUint(uint64_t timeMs);
41 std::string getDateTimeUint(uint64_t secondsSinceEpoch);
47 std::string getDateTimeUintMs(uint64_t milliSecondsSinceEpoch);
50 std::string getDateTimeUintUs(uint64_t microSecondsSinceEpoch);
52 std::string getDateTimeStdtime(std::time_t secondsSinceEpoch);
60 * @return std::pair<std::string, std::string>, which consist
63 std::pair<std::string, std::string> getDateTimeOffsetNow();
65 using usSinceEpoch = std::chrono::duration<int64_t, std::micro>;
66 std::optional<usSinceEpoch> dateStringToEpoch(std::string_view datetime);
71 * @param[in] std::string_view the date of item manufacture in ISO 8601 format,
76 * @return std::string which consist the datetime
78 std::optional<std::string> getDateTimeIso8601(std::string_view datetime);
83 void productionDateReport(crow::Response& res, const std::string& buildDate);