boost::itl::size<boost::posix_time::ptime>
struct size<boost::posix_time::ptime> { // types typedef boost::posix_time::time_duration type; };