Boost logo

Boost Users :

From: Jean-Pierre Bergamin (james_at_[hidden])
Date: 2008-08-28 04:13:42


Roman Perepelitsa schrieb:
> 2008/8/28 Jean-Pierre Bergamin <james_at_[hidden]>
>
> Is there a year_based_generator for easter dates somewhere lying
> around, waiting to be used by others?
>
>
> Thanks
>
> James
>
>
> Date generators from Boost Date Time Library can do that.
> http://www.boost.org/doc/libs/1_36_0/doc/html/date_time/gregorian.html#date_time.gregorian.date_algorithms
> Here is the example:
> http://svn.boost.org/svn/boost/trunk/libs/date_time/example/gregorian/print_holidays.cpp
There are some year based date generators (like
nth_day_of_the_week_in_month), but not for getting the easter date of a
specific year.

Regards

James


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