MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / getTimeMSFromString

Method getTimeMSFromString

libminifi/include/core/Property.h:314–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312 }
313
314 static bool getTimeMSFromString(const std::string& str, uint64_t& valInt) {
315 core::TimeUnit unit;
316 return !str.empty() && StringToTime(str, valInt, unit)
317 && ConvertTimeUnitToMS(valInt, unit, valInt);
318 }
319
320 static bool getTimeMSFromString(const std::string& str, int64_t& valInt) {
321 core::TimeUnit unit;

Callers

nothing calls this directly

Calls 2

StringToTimeFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected