Ticket #1895: time_period_ctor_doc.patch

File time_period_ctor_doc.patch, 921 bytes (added by Bryan Petty <bryan@…>, 14 years ago)
  • libs/date_time/xmldoc/time_period.xml

     
    6060          </row>
    6161          <row>
    6262            <entry><screen>date d(2002,Jan,01);
    63 ptime t(d, seconds(10)); //10 sec after midnight
    64 time_period tp(t, hours(3));</screen>
     63ptime t1(d, seconds(10)); //10 sec after midnight
     64ptime t2(d, hours(10)); //10 hours after midnight
     65time_period tp(t1, t2);</screen>
    6566            </entry>
    6667          </row>
    6768
     
    7273          </row>
    7374          <row>
    7475            <entry><screen>date d(2002,Jan,01);
    75 ptime t1(d, seconds(10)); //10 sec after midnight
    76 ptime t2(d, hours(10)); //10 hours after midnight
    77 time_period tp(t1, t2);</screen>
     76ptime t(d, seconds(10)); //10 sec after midnight
     77time_period tp(t, hours(3));</screen>
    7878            </entry>
    7979          </row>
    8080