libanna.time refactoring
[anna.git] / example / diameter / launcher / main.cpp
index 249a595..af3ceb0 100644 (file)
@@ -1173,7 +1173,7 @@ void Launcher::writeLogFile(const anna::diameter::codec::Message & decodedMessag
 
    if (a_detailedLog) {
       anna::time::Date now;
-      now.setCurrent();
+      now.setNow();
       title += " ";
       title += now.asString();
       log += anna::functions::highlight(title, anna::functions::TextHighlightMode::OverAndUnderline);
@@ -1289,7 +1289,7 @@ throw(anna::RuntimeException) {
    LOGMETHOD(anna::TraceMethod tm("Launcher", "run", ANNA_FILE_LOCATION));
    CommandLine& cl(anna::CommandLine::instantiate());
    // Start time:
-   a_start_time.setCurrent();
+   a_start_time.setNow();
    // Statistics:
    anna::statistics::Engine::instantiate().enable();
    ///////////////////////////////