| 1 | --- ./boost_1_34_1/boost/date_time/posix_time/time_serialize.hpp.orig 2008-01-30 13:46:59.000000000 -0500
|
|---|
| 2 | +++ ./boost_1_34_1/boost/date_time/posix_time/time_serialize.hpp 2008-01-30 13:48:19.000000000 -0500
|
|---|
| 3 | @@ -45,10 +45,10 @@
|
|---|
| 4 | ar & make_nvp("sv_time_duration", s);
|
|---|
| 5 | }
|
|---|
| 6 | else {
|
|---|
| 7 | - typename posix_time::time_duration::hour_type h = td.hours();
|
|---|
| 8 | - typename posix_time::time_duration::min_type m = td.minutes();
|
|---|
| 9 | - typename posix_time::time_duration::sec_type s = td.seconds();
|
|---|
| 10 | - typename posix_time::time_duration::fractional_seconds_type fs = td.fractional_seconds();
|
|---|
| 11 | + posix_time::time_duration::hour_type h = td.hours();
|
|---|
| 12 | + posix_time::time_duration::min_type m = td.minutes();
|
|---|
| 13 | + posix_time::time_duration::sec_type s = td.seconds();
|
|---|
| 14 | + posix_time::time_duration::fractional_seconds_type fs = td.fractional_seconds();
|
|---|
| 15 | ar & make_nvp("time_duration_hours", h);
|
|---|
| 16 | ar & make_nvp("time_duration_minutes", m);
|
|---|
| 17 | ar & make_nvp("time_duration_seconds", s);
|
|---|
| 18 | @@ -75,10 +75,10 @@
|
|---|
| 19 | td = posix_time::time_duration(sv);
|
|---|
| 20 | }
|
|---|
| 21 | else {
|
|---|
| 22 | - typename posix_time::time_duration::hour_type h(0);
|
|---|
| 23 | - typename posix_time::time_duration::min_type m(0);
|
|---|
| 24 | - typename posix_time::time_duration::sec_type s(0);
|
|---|
| 25 | - typename posix_time::time_duration::fractional_seconds_type fs(0);
|
|---|
| 26 | + posix_time::time_duration::hour_type h(0);
|
|---|
| 27 | + posix_time::time_duration::min_type m(0);
|
|---|
| 28 | + posix_time::time_duration::sec_type s(0);
|
|---|
| 29 | + posix_time::time_duration::fractional_seconds_type fs(0);
|
|---|
| 30 | ar & make_nvp("time_duration_hours", h);
|
|---|
| 31 | ar & make_nvp("time_duration_minutes", m);
|
|---|
| 32 | ar & make_nvp("time_duration_seconds", s);
|
|---|
| 33 | @@ -103,10 +103,10 @@
|
|---|
| 34 | {
|
|---|
| 35 | // from_iso_string does not include fractional seconds
|
|---|
| 36 | // therefore date and time_duration are used
|
|---|
| 37 | - typename posix_time::ptime::date_type d = pt.date();
|
|---|
| 38 | + posix_time::ptime::date_type d = pt.date();
|
|---|
| 39 | ar & make_nvp("ptime_date", d);
|
|---|
| 40 | if(!pt.is_special()) {
|
|---|
| 41 | - typename posix_time::ptime::time_duration_type td = pt.time_of_day();
|
|---|
| 42 | + posix_time::ptime::time_duration_type td = pt.time_of_day();
|
|---|
| 43 | ar & make_nvp("ptime_time_duration", td);
|
|---|
| 44 | }
|
|---|
| 45 | }
|
|---|
| 46 | @@ -122,8 +122,8 @@
|
|---|
| 47 | {
|
|---|
| 48 | // from_iso_string does not include fractional seconds
|
|---|
| 49 | // therefore date and time_duration are used
|
|---|
| 50 | - typename posix_time::ptime::date_type d(posix_time::not_a_date_time);
|
|---|
| 51 | - typename posix_time::ptime::time_duration_type td;
|
|---|
| 52 | + posix_time::ptime::date_type d(posix_time::not_a_date_time);
|
|---|
| 53 | + posix_time::ptime::time_duration_type td;
|
|---|
| 54 | ar & make_nvp("ptime_date", d);
|
|---|
| 55 | if(!d.is_special()) {
|
|---|
| 56 | ar & make_nvp("ptime_time_duration", td);
|
|---|