Boost logo

Boost Users :

Subject: Re: [Boost-users] date_time: nth friday of month
From: Larry (lknain_at_[hidden])
Date: 2014-05-30 12:11:24


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

From: MM
Sent: Friday, May 30, 2014 11:07 AM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] date_time: nth friday of month

Is anyone familiar with date_time internals who could help here?

Rds,

On 24 May 2014 02:07, MM <finjulhich_at_[hidden]> wrote:

  Hello,

  Is there an object that encodes "second friday of month", rather than "second friday of april"?
  Then you would pass to it month + year to get a date?
  If not, how would I implement such a type? Extend nth_day_of_the_week_in_month?

  Thanks,

--------------------------------------------------------------------------------
_______________________________________________
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