You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
575 B
25 lines
575 B
3 years ago
|
#include "types.h"
|
||
|
#include <string>
|
||
|
#include <iostream>
|
||
|
//template<typename T>
|
||
|
//inline static constexpr void types::Types<T>::print(T& v)
|
||
|
//{
|
||
|
// std::cout << v;
|
||
|
//}
|
||
|
#include <chrono>
|
||
|
#include <ctime>
|
||
|
namespace types {
|
||
|
using namespace std;
|
||
|
using namespace chrono;
|
||
|
string date_t::toString() const {
|
||
|
uint32_t curr_v = val;
|
||
|
tm;
|
||
|
time_t;
|
||
|
return string() + string("/") + string() + string("/") + string();
|
||
|
}
|
||
|
string time_t::toString() const {
|
||
|
uint32_t curr_v = val;
|
||
|
|
||
|
return string() + string("/") + string() + string("/") + string();
|
||
|
}
|
||
|
}
|