Ticket #1895: time_period_ctor_doc.patch
File time_period_ctor_doc.patch, 921 bytes (added by , 14 years ago) |
---|
-
libs/date_time/xmldoc/time_period.xml
60 60 </row> 61 61 <row> 62 62 <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> 63 ptime t1(d, seconds(10)); //10 sec after midnight 64 ptime t2(d, hours(10)); //10 hours after midnight 65 time_period tp(t1, t2);</screen> 65 66 </entry> 66 67 </row> 67 68 … … 72 73 </row> 73 74 <row> 74 75 <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> 76 ptime t(d, seconds(10)); //10 sec after midnight 77 time_period tp(t, hours(3));</screen> 78 78 </entry> 79 79 </row> 80 80