Ticket #583: boost-date_time-date_generators_hpp.patch

File boost-date_time-date_generators_hpp.patch, 943 bytes (added by Thomas Witt, 15 years ago)
  • boost/date_time/date_generators.hpp

    diff -ru boost_1_34_0/boost/date_time/date_generators.hpp boost_1_34_0_ibm/boost/date_time/date_generators.hpp
    old new  
    153153   month_type month_;
    154154 };
    155155
     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);
    156158
    157159  //! Useful generator functor for finding holidays
    158160  /*! Based on the idea in Cal. Calc. for finding holidays that are
     
    241243    week_num wn_;
    242244    day_of_week_type dow_;
    243245  };
    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
    247247
    248248  //! Useful generator functor for finding holidays and daylight savings
    249249  /*! Similar to nth_kday_of_month, but requires less paramters