|
Boost Users : |
Subject: Re: [Boost-users] date-time library and checked iterators 2
From: gast128 (gast128_at_[hidden])
Date: 2009-01-29 11:24:16
I have created a case:
#include <boost\date_time\gregorian\gregorian.hpp>
#include <boost\date_time\posix_time\posix_time.hpp>
#include <sstream>
int main()
{
boost::gregorian::date date(2009, 1, 1);
boost::posix_time::time_duration td(0, 0, 0, 0);
boost::posix_time::ptime boost_time(date, td);
std::stringstream sstr;
boost::posix_time::time_facet* pFacet = new boost::posix_time::time_facet
("");
sstr.imbue(std::locale(std::locale::classic(), pFacet));
sstr << boost_time;
return 0;
}
I will post it if possible.
(thx btw)
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net