keycodes. boost stil can't handle dates
This commit is contained in:
1 parent
7d75d87e6b
commit
8a965d41ff
24 files changed
+747
-132
No files matched your search
@@ -183,6 +183,11 @@ std::string simple_date_time_string (PTime const &t)
|
||||
return boost::posix_time::to_simple_string(t);
|
||||
}
|
||||
|
||||
PTime parse_simple_date_time_string (std::string const &t)
|
||||
{
|
||||
return boost::posix_time::time_from_string(t);
|
||||
}
|
||||
|
||||
std::string FIX_date_time_string (PTime const &t)
|
||||
{
|
||||
std::string result (strlen ("20121204-14:44:02"),' ');
|
||||
|
||||
Reference in new issue
Block a user