Introduce the date library

This commit is contained in:
Alexander Bock
2020-08-13 10:47:30 +02:00
parent d97c96d144
commit 38eac377e8
8 changed files with 152 additions and 150 deletions
+2 -1
View File
@@ -66,6 +66,7 @@ public:
static double convertTime(const std::string& time);
explicit Time(double secondsJ2000 = -1);
explicit Time(const std::string& time);
Time(const Time& other) = default;
/**
@@ -98,7 +99,7 @@ public:
* (http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/str2et_c.html)
* \param time The time to be set as a date string
*/
void setTime(std::string time);
void setTime(const std::string& time);
/**
* Returns the current time as the number of seconds past the J2000 epoch. If the