MCPcopy Create free account
hub / github.com/asmuth/clip / parseString

Method parseString

src/utils/CivilTime.cc:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#include <ctime>
17
18Option<CivilTime> CivilTime::parseString(
19 const String& str,
20 const char* fmt /* = "%Y-%m-%d %H:%M:%S" */) {
21 return CivilTime::parseString(str.data(), str.size(), fmt);
22}
23
24Option<CivilTime> CivilTime::parseString(
25 const char* str,

Callers

nothing calls this directly

Calls 9

SomeFunction · 0.85
setSecondMethod · 0.80
setMinuteMethod · 0.80
setHourMethod · 0.80
setDayMethod · 0.80
setMonthMethod · 0.80
setYearMethod · 0.80
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected