20 lines
400 B
C++
20 lines
400 B
C++
|
|
#pragma once
|
|
|
|
#include "ml.h"
|
|
#include "clib/date.h"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
|
|
int now();
|
|
|
|
// TODO temporary solution before format will be implemented
|
|
std::string date_to_string(const int datetime, const std::string format);
|
|
|
|
int 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);
|
|
|