Logo Search packages:      
Sourcecode: passenger version File versions  Download package

boost::date_time::first_kday_after< date_type > Class Template Reference

#include <date_generators.hpp>

List of all members.

Detailed Description

template<class date_type>
class boost::date_time::first_kday_after< date_type >

Calculate something like "First Sunday after Jan 1,2002.

Date generator that takes a date and finds kday after

     typedef boost::date_time::first_kday_after<date> firstkdayafter;
     firstkdayafter fkaf(Monday);

Definition at line 376 of file date_generators.hpp.

Public Types

typedef date_type::calendar_type calendar_type
typedef date_type::duration_type duration_type

Public Member Functions

day_of_week_type day_of_week () const
 first_kday_after (day_of_week_type dow)
date_type get_date (date_type start_day) const
 Return next kday given.

Private Attributes

day_of_week_type dow_

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index