Ticket #583: date_generators.hpp.patch
File date_generators.hpp.patch, 807 bytes (added by , 15 years ago) |
---|
-
boost/date_time/date_generators.hpp
old new 153 153 month_type month_; 154 154 }; 155 155 156 //! Returns nth arg as string. 1 -> "first", 2 -> "second", max is 5. 157 BOOST_DATE_TIME_DECL const char* nth_as_str(int n); 156 158 157 159 //! Useful generator functor for finding holidays 158 160 /*! Based on the idea in Cal. Calc. for finding holidays that are … … 241 243 week_num wn_; 242 244 day_of_week_type dow_; 243 245 }; 244 245 //! Returns nth arg as string. 1 -> "first", 2 -> "second", max is 5. 246 BOOST_DATE_TIME_DECL const char* nth_as_str(int n); 246 247 247 248 248 //! Useful generator functor for finding holidays and daylight savings 249 249 /*! Similar to nth_kday_of_month, but requires less paramters