// value.
TEST(StampedElementTest, setModificationTime) {
boost::posix_time::ptime
- modification_time(boost::gregorian::date(2002, boost::date_time::Jan, 10),
+ modification_time(boost::gregorian::date(2002, boost::date_time::Jan, 10),
boost::posix_time::time_duration(1,2,3));
StampedElement element;
element.setModificationTime(modification_time);
// time.
TEST(StampedElementTest, update) {
boost::posix_time::ptime
- modification_time(boost::gregorian::date(2002, boost::date_time::Jan, 10),
+ modification_time(boost::gregorian::date(2002, boost::date_time::Jan, 10),
boost::posix_time::time_duration(1,2,3));
StampedElement element;
element.setModificationTime(modification_time);
static const bool am_unsigned = false;
};
-/// @brief Specialization for MySQL TIMESTAMP type.
+/// @brief Specialization for MySQL TIMESTAMP type.
template<>
struct MySqlBindingTraits<boost::posix_time::ptime> {
static const enum_field_types column_type = MYSQL_TYPE_TIMESTAMP;