int is dead, long live long type!
This commit is contained in:
@@ -8,12 +8,12 @@
|
||||
#include <vector>
|
||||
|
||||
|
||||
int now();
|
||||
long now();
|
||||
|
||||
// TODO temporary solution before format will be implemented
|
||||
std::string date_to_string(const int datetime, const std::string format);
|
||||
std::string date_to_string(const long datetime, const std::string format);
|
||||
|
||||
int string_to_date(const std::string &datestr, const std::string &format);
|
||||
long string_to_date(const std::string &datestr, const std::string &format);
|
||||
|
||||
int add_to_date(const int datetime, const int quantity, const std::string &part);
|
||||
long add_to_date(const long datetime, const long quantity, const std::string &part);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user