]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/date_time/xmldoc/ptime_class.xml
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / date_time / xmldoc / ptime_class.xml
index 806e7157080be7aeb3804aefa1fbf46779fb3e82..7388dbe95042a9163c99bec556db990c13d39779 100644 (file)
@@ -133,6 +133,15 @@ ptime t(time_from_string(ts))</screen></entry>
            <entry><screen>std::string ts("20020131T235959");
 ptime t(from_iso_string(ts))</screen></entry>
          </row>
+
+         <row>
+           <entry valign="top" morerows="1"><screen>ptime from_iso_extended_string(std::string)</screen></entry>
+           <entry>From delimited iso form string.</entry>
+         </row>
+          <row>
+           <entry><screen>std::string ts("2020-01-31T23:59:59.123");
+ptime t(from_iso_extended_string(ts))</screen></entry>
+         </row>
        </tbody>
       </tgroup>
     </informaltable>
@@ -172,7 +181,7 @@ ptime t(from_iso_string(ts))</screen></entry>
           
           <row>
            <entry valign="top" morerows="1"><screen>ptime microsec_clock::local_time()</screen></entry>
-           <entry>Get the local time using a sub second resolution clock.  On Unix systems this is implemented using GetTimeOfDay.  On most Win32 platforms it is implemented using ftime.  Win32 systems often do not achieve microsecond resolution via this API.  If higher resolution is critical to your application test your platform to see the achieved resolution.</entry>
+           <entry>Get the local time using a sub second resolution clock.  On Unix systems this is implemented using gettimeofday.  On most Win32 platforms it is implemented using ftime.  Win32 systems often do not achieve microsecond resolution via this API.  If higher resolution is critical to your application test your platform to see the achieved resolution.</entry>
          </row>
          <row>
            <entry><screen>ptime t(microsec_clock::local_time());</screen></entry>
@@ -180,7 +189,7 @@ ptime t(from_iso_string(ts))</screen></entry>
           
           <row>
            <entry valign="top" morerows="1"><screen>ptime microsec_clock::universal_time()</screen></entry>
-           <entry>Get the UTC time using a sub second resolution clock.  On Unix systems this is implemented using GetTimeOfDay.  On most Win32 platforms it is implemented using ftime.  Win32 systems often do not achieve microsecond resolution via this API.  If higher resolution is critical to your application test your platform to see the achieved resolution.</entry>
+           <entry>Get the UTC time using a sub second resolution clock.  On Unix systems this is implemented using gettimeofday.  On most Win32 platforms it is implemented using ftime.  Win32 systems often do not achieve microsecond resolution via this API.  If higher resolution is critical to your application test your platform to see the achieved resolution.</entry>
          </row>
          <row>
            <entry><screen>ptime t(microsec_clock::universal_time());</screen></entry>
@@ -494,7 +503,7 @@ tm pt_tm = to_tm(pt);
    tm_hour => 1
    tm_min  => 2
    tm_sec  => 3
-   tm_isddst => -1 */</screen>
+   tm_isdst => -1 */</screen>
          </entry>
         </row>
 
@@ -530,7 +539,7 @@ tm td_tm = to_tm(td);
    tm_hour => 1
    tm_min  => 2
    tm_sec  => 3
-   tm_isddst => -1 */</screen>
+   tm_isdst => -1 */</screen>
          </entry>
         </row>