Boost logo

Boost Users :

Subject: Re: [Boost-users] date_time: nth friday of month
From: MM (finjulhich_at_[hidden])
Date: 2014-05-30 12:51:45


On 30 May 2014 17:11, Larry <lknain_at_[hidden]> wrote:

> Won’t the date generator functions allow you to do this? It has been a
> long time since I looked at these but I seem to recall functions that would
> allow the implementation of the function you want. Take a look at the
> documentation.
>
> Larry
>

Indeed the existing one allows you to store "second friday of april" in a
object, then call get_date( year ) on that object to get an actual date.

Now i need to store "second friday of any month" in some object, then pass
get_date( year, month ) to get the actual date. This is not available. I
was asking if someone knew how to implement such a class.

MM



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