Boost Users :
From: Jeff Garland (jeff_at_[hidden])
Date: 2006-01-12 09:48:20
On Thu, 12 Jan 2006 09:16:56 +0100, Oliver.Kowalke wrote
> I've to serialize the value of months into a databse. This requires
> to access the value (amount of months) stored inside of
> How can I access the internal value (nothing found in the docu)?
> If this is not possible which boost::date_time type should I in
> order to store a datetime duration consisting of the pair years and months
> (Oracle database type INTERVAL YEAR TO MONTH)?
There is a method number_of_months() you can use to get the value. I see that
it's not so obvious from the docs that this exists :-(
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