Commit e4f111ac authored by louiz’'s avatar louiz’

Remove two unused (julianday) functions

parent 4bd7b698
...@@ -50,19 +50,7 @@ public: ...@@ -50,19 +50,7 @@ public:
return this->t.time_since_epoch(); return this->t.time_since_epoch();
} }
long double julianday() const
{
log_debug("ici?");
auto res = ((static_cast<long double>(this->epoch().count()) / std::chrono::system_clock::period::den) / 86400) + 2440587.5;
return res;
}
private: private:
std::string s; std::string s;
time_point t; time_point t;
}; };
inline long double to_julianday(std::time_t t)
{
return static_cast<long double>(t) / 86400.0 + 2440587.5;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment