MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / convertHttpDateToTime

Function convertHttpDateToTime

CesiumAsync/src/CachingAssetAccessor.cpp:497–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

495}
496
497std::time_t convertHttpDateToTime(const std::string& httpDate) {
498 std::tm tm = {};
499 std::stringstream ss(httpDate);
500 ss >> std::get_time(&tm, "%a, %d %b %Y %H:%M:%S");
501 return internalTimegm(&tm);
502}
503
504} // namespace
505

Callers 2

shouldCacheRequestFunction · 0.85
calculateExpiryTimeFunction · 0.85

Calls 1

internalTimegmFunction · 0.85

Tested by

no test coverage detected