Converts strings like "10s", "5d", "1h" to durations. More...
#include <chrono>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | utils |
Utilities. | |
Functions | |
std::chrono::milliseconds | utils::StringToDuration (const std::string &data) |
Converts strings like "10s", "5d", "1h" to durations. | |
Converts strings like "10s", "5d", "1h" to durations.
Definition in file string_to_duration.hpp.