PageRenderTime 73ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/boost_1_57_0/doc/html/boost/date_time/time_from_ftime.html

http://github.com/MisterTea/HyperNEAT
HTML | 62 lines | 61 code | 1 blank | 0 comment | 0 complexity | 9e09bbfcc98aea671e1d80fd3de7a768 MD5 | raw file
Possible License(s): BSD-3-Clause, LGPL-3.0, GPL-3.0, GPL-2.0
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
  4. <title>Function template time_from_ftime</title>
  5. <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
  6. <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
  7. <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
  8. <link rel="up" href="../../date_time/doxy.html#header.boost.date_time.filetime_functions_hpp" title="Header &lt;boost/date_time/filetime_functions.hpp&gt;">
  9. <link rel="prev" href="winapi/file_time_to_microseconds.html" title="Function template file_time_to_microseconds">
  10. <link rel="next" href="format_date_parser.html" title="Class template format_date_parser">
  11. </head>
  12. <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
  13. <table cellpadding="2" width="100%"><tr>
  14. <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
  15. <td align="center"><a href="../../../../index.html">Home</a></td>
  16. <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
  17. <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
  18. <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
  19. <td align="center"><a href="../../../../more/index.htm">More</a></td>
  20. </tr></table>
  21. <hr>
  22. <div class="spirit-nav">
  23. <a accesskey="p" href="winapi/file_time_to_microseconds.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#header.boost.date_time.filetime_functions_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="format_date_parser.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
  24. </div>
  25. <div class="refentry">
  26. <a name="boost.date_time.time_from_ftime"></a><div class="titlepage"></div>
  27. <div class="refnamediv">
  28. <h2><span class="refentrytitle">Function template time_from_ftime</span></h2>
  29. <p>boost::date_time::time_from_ftime &#8212; Create a time object from an initialized FILETIME struct. </p>
  30. </div>
  31. <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
  32. <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../date_time/doxy.html#header.boost.date_time.filetime_functions_hpp" title="Header &lt;boost/date_time/filetime_functions.hpp&gt;">boost/date_time/filetime_functions.hpp</a>&gt;
  33. </span>
  34. <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> TimeT<span class="special">,</span> <span class="keyword">typename</span> FileTimeT<span class="special">&gt;</span>
  35. <span class="identifier">TimeT</span> <span class="identifier">time_from_ftime</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">FileTimeT</span> <span class="special">&amp;</span> ft<span class="special">)</span><span class="special">;</span></pre></div>
  36. <div class="refsect1">
  37. <a name="idp190082752"></a><h2>Description</h2>
  38. <p>Create a time object from an initialized FILETIME struct. A FILETIME struct holds 100-nanosecond units (0.0000001). When built with microsecond resolution the file_time's sub second value will be truncated. Nanosecond resolution has no truncation.</p>
  39. <div class="note"><table border="0" summary="Note">
  40. <tr>
  41. <td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../doc/src/images/note.png"></td>
  42. <th align="left">Note</th>
  43. </tr>
  44. <tr><td align="left" valign="top"><p>The function is templated on the FILETIME type, so that it can be used with both native FILETIME and the ad-hoc boost::date_time::winapi::file_time type. </p></td></tr>
  45. </table></div>
  46. <p>
  47. </p>
  48. </div>
  49. </div>
  50. <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
  51. <td align="left"></td>
  52. <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2005 CrystalClear Software, Inc<p>Subject to the Boost Software License, Version 1.0. (See accompanying file
  53. <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)</p>
  54. </div></td>
  55. </tr></table>
  56. <hr>
  57. <div class="spirit-nav">
  58. <a accesskey="p" href="winapi/file_time_to_microseconds.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#header.boost.date_time.filetime_functions_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="format_date_parser.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
  59. </div>
  60. </body>
  61. </html>