MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / get

Method get

src/openms/source/DATASTRUCTURES/DateTime.cpp:172–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 }
171
172 String DateTime::get() const
173 {
174 if (dt_->isValid())
175 {
176 return dt_->toString("yyyy-MM-dd hh:mm:ss");
177 }
178 return "0000-00-00 00:00:00";
179 }
180
181 void DateTime::get(UInt& month, UInt& day, UInt& year,
182 UInt& hour, UInt& minute, UInt& second) const

Callers

nothing calls this directly

Calls 2

isValidMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected