date_hour = Poco::DateTimeParser::parse(datetime_format,target_for_date_const,tzd); std::cout << "Year: " << date_hour.year() << std::endl; // prints 2011 (OK) Poco::Timespan span = Poco::Timespan(0,step,0,0,0); date_hour=date_hour + span; std::cout << "Year: " << date_hour.year() << std::endl; // prints -2394 (NOT OK)
Platform: x86-64 Linux
Version: trunk
Nobody/Anonymous
2011-06-22
This bug is invalid. (I am the reporter.)
Guenter Obiltschnig
2011-08-18
not able to reproduce