diff options
author | randomdan <randomdan@localhost> | 2014-03-03 20:57:27 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2014-03-03 20:57:27 +0000 |
commit | 6ae914ceb99aaeba3c69a4b9efe839f1c6e9932b (patch) | |
tree | b2bbfd5bf670ec04c1ac2d8ffebfe2a0181d8e63 /project2/json/conversion.h | |
parent | Don't create the app engine instance before forking (diff) | |
download | project2-6ae914ceb99aaeba3c69a4b9efe839f1c6e9932b.tar.bz2 project2-6ae914ceb99aaeba3c69a4b9efe839f1c6e9932b.tar.xz project2-6ae914ceb99aaeba3c69a4b9efe839f1c6e9932b.zip |
Adds native support for time_duration as a variable type
Pass/retrieve boost::posix_time ptime and time_duration into/out of the db tier
Diffstat (limited to 'project2/json/conversion.h')
-rw-r--r-- | project2/json/conversion.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/project2/json/conversion.h b/project2/json/conversion.h index d875462..51a8938 100644 --- a/project2/json/conversion.h +++ b/project2/json/conversion.h @@ -8,6 +8,7 @@ class ConversionNotSupported { }; class Project2ToJson : public boost::static_visitor<json::Value> { public: + json::Value operator()(const boost::posix_time::time_duration & i) const; json::Value operator()(const boost::posix_time::ptime & i) const; json::Value operator()(const Null & c) const; json::Value operator()(const Glib::ustring & c) const; |