|
Boost Users : |
Subject: Re: [Boost-users] [datetime] little problem with periods
From: Georg.Kellerer_at_[hidden]
Date: 2015-06-23 10:23:57
Hi Boris,
thanks for your help. In fact I didn't know that.
Georg
-----Ursprüngliche Nachricht-----
Von: Boost-users [mailto:boost-users-bounces_at_[hidden]] Im Auftrag von Boris Schäling
Gesendet: Dienstag, 23. Juni 2015 14:46
An: boost-users_at_[hidden]
Betreff: Re: [Boost-users] [datetime] little problem with periods
On Tue, 23 Jun 2015 13:42:03 +0200, <Georg.Kellerer_at_[hidden]> wrote:
> Hello,
>
> i am using Boost V1.5.8 under vs 2010 with a german windows 7 64 bit.
> When I tried to calculate a time period I always ran into the same
> problem. The period is calculated one day too short. I wrote a little
> program to illustrate my problem. It's important that you change the
> value of the variable test to the current date. Is this a bug or do I
> use the library in an incorrect way?
The end of the period is not considered part of the period (see <http://theboostcpplibraries.com/boost.datetime-calendar#ex.datetime_08>
or
<http://dieboostcppbibliotheken.de/boost.datetime-kalenderdaten#ex.datetime_08>
if you prefer German).
HTH,
Boris
> [...]
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
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