15#include <jau/test/catch2_ext.hpp>
27TEST_CASE(
"PTS toMillis Test 01.01",
"[PTS][time]" ) {
46 REQUIRE(t00a == t00b);
TEST_CASE("PTS toMillis Test 01.01", "[PTS][time]")
static uint32_t toMillis(const std::string &datestr) noexcept
Returns milliseconds from given string representation in '[H[H]:]m[m]:s[s][.S*]'.
__pack(...): Produces MSVC, clang and gcc compatible lead-in and -out macros.
constexpr uint64_t to_ms() const noexcept
Returns time in milliseconds.
static fraction_timespec from(const std::string &datestr, int64_t &utcOffsetSec, size_t &consumedChars) noexcept
Conversion constructor from an ISO8601 time string, as produced via to_iso8601_string().