Boost C++ Libraries: Ticket #2710: Missing/faulty documentation for date_period::expand https://svn.boost.org/trac10/ticket/2710 <p> From <a href="http://www.boost.org/doc/libs/1_37_0/doc/html/date_time/gregorian.html">http://www.boost.org/doc/libs/1_37_0/doc/html/date_time/gregorian.html</a> </p> <pre class="wiki">date_period expand(days) Add duration to both begin and end. </pre><p> This is the same documentation as for <code>date_period::shift</code>, and it doesn't make any sense for <code>expand</code>. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2710 Trac 1.4.3 anonymous Mon, 02 Feb 2009 11:14:09 GMT <link>https://svn.boost.org/trac10/ticket/2710#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2710#comment:1</guid> <description> <p> <code>expand</code> is documented further down like this: </p> <pre class="wiki">date_period expand(days) Subtract duration from begin and add duration to end. date_period dp1(date(2002,Jan,4), date(2002,Jan,10)); dp1.expand(days(2)); // 2002-Jan-02/2002-Jan-12 </pre><p> The one I have a problem with is sorted under the "Mutators" header. It could probably have the same documentation. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Thu, 04 Jun 2009 09:47:16 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2710#comment:2 https://svn.boost.org/trac10/ticket/2710#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/53620" title="Fixes #2710.">[53620]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2710" title="#2710: Bugs: Missing/faulty documentation for date_period::expand (closed: fixed)">#2710</a>. </p> Ticket Andrey Semashev Thu, 04 Jun 2009 09:48:03 GMT <link>https://svn.boost.org/trac10/ticket/2710#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2710#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/53621" title="Fixes #2710.">[53621]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2710" title="#2710: Bugs: Missing/faulty documentation for date_period::expand (closed: fixed)">#2710</a>. </p> </description> <category>Ticket</category> </item> </channel> </rss>