![]() |
Home | Libraries | People | FAQ | More |
boost::date_time::first_kday_of_month — Useful generator functor for finding holidays and daylight savings.
// In header: <boost/date_time/date_generators.hpp> template<typename date_type> class first_kday_of_month : public { public: // types typedef ; typedef ; typedef ; typedef ; typedef ; // public member functions (, ); () ; () ; () ; () ; };
Similar to nth_kday_of_month, but requires less paramters
first_kday_of_month
public member functions( dow, m);Specify the first 'Sunday' in 'April' spec.
Parameters: |
|
( year) ;Return a concrete date when provided with a year specific year.
() ;
() ;
() ;Returns string suitable for use in POSIX time zone string.
Returns a string formatted as "M4.1.0" ==> 1st Sunday in April.