Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 4bc66056a634db26a1f4d0845dc41ca6 > files > 5925

mrpt-doc-0.9.5-0.1.20110925svn2670.fc16.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>datetime.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> &gt; <b>C++ reference</b> </div>
<div align="right">
<a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a>
</div>
<!-- Generated by Doxygen 1.7.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
          <div class="left">
            <form id="FSearchBox" action="search.php" method="get">
              <img id="MSearchSelect" src="search/mag.png" alt=""/>
              <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" 
                     onfocus="searchBox.OnSearchFieldFocus(true)" 
                     onblur="searchBox.OnSearchFieldFocus(false)"/>
            </form>
          </div><div class="right"></div>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Defines</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">datetime.h File Reference</div>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="utils__defs_8h_source.html">mrpt/utils/utils_defs.h</a>&gt;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for datetime.h:</div>
<div class="dyncontent">
<div class="center"><img src="datetime_8h__incl.png" border="0" usemap="#datetime_8h" alt=""/></div>
<map name="datetime_8h" id="datetime_8h">
<area shape="rect" id="node3" href="utils__defs_8h.html" title="mrpt/utils/utils_defs.h" alt="" coords="2207,80,2353,107"/><area shape="rect" id="node7" href="os_8h.html" title="mrpt/system/os.h" alt="" coords="510,155,633,181"/><area shape="rect" id="node20" href="base_2include_2mrpt_2base_2link__pragmas_8h.html" title="mrpt/base/link_pragmas.h" alt="" coords="2118,379,2289,405"/><area shape="rect" id="node23" href="boost__join_8h.html" title="mrpt/utils/boost_join.h" alt="" coords="2377,453,2527,480"/><area shape="rect" id="node25" href="base_2include_2mrpt_2utils_2types_8h.html" title="mrpt/utils/types.h" alt="" coords="1351,229,1473,256"/><area shape="rect" id="node83" href="mrpt__macros_8h.html" title="mrpt/utils/mrpt_macros.h" alt="" coords="1693,229,1859,256"/><area shape="rect" id="node86" href="compiler__fixes_8h.html" title="mrpt/utils/compiler_fixes.h" alt="" coords="2521,155,2695,181"/><area shape="rect" id="node111" href="smart__ptr_8hpp.html" title="mrpt/otherlibs/stlplus/smart_ptr.hpp" alt="" coords="2627,229,2853,256"/><area shape="rect" id="node128" href="bits_8h.html" title="mrpt/utils/bits.h" alt="" coords="3216,155,3327,181"/><area shape="rect" id="node37" href="mrpt__stdint_8h.html" title="mrpt/utils/mrpt_stdint.h" alt="" coords="750,379,905,405"/><area shape="rect" id="node42" href="mrpt__inttypes_8h.html" title="mrpt/utils/mrpt_inttypes.h" alt="" coords="717,304,888,331"/><area shape="rect" id="node45" href="math__frwds_8h.html" title="mrpt/math/math_frwds.h" alt="" coords="963,304,1127,331"/><area shape="rect" id="node61" href="_dense.html" title="Eigen/Dense" alt="" coords="494,304,591,331"/><area shape="rect" id="node40" href="pstdint_8h.html" title="pstdint.h" alt="" coords="792,453,864,480"/><area shape="rect" id="node63" href="_core.html" title="Core" alt="" coords="505,453,556,480"/><area shape="rect" id="node74" href="_l_u.html" title="LU" alt="" coords="483,379,521,405"/><area shape="rect" id="node113" href="containers__fixes_8hpp.html" title="containers_fixes.hpp" alt="" coords="2802,379,2944,405"/><area shape="rect" id="node115" href="exceptions_8hpp.html" title="exceptions.hpp" alt="" coords="2685,304,2795,331"/><area shape="rect" id="node122" href="atomic__incr_8h.html" title="mrpt/synch/atomic_incr.h" alt="" coords="2491,304,2660,331"/><area shape="rect" id="node126" href="smart__ptr_8tpp.html" title="smart_ptr.tpp" alt="" coords="2820,304,2919,331"/><area shape="rect" id="node130" href="_s_s_e__types_8h.html" title="mrpt/utils/SSE_types.h" alt="" coords="3205,229,3363,256"/></map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="datetime_8h__dep__incl.png" border="0" usemap="#datetime_8hdep" alt=""/></div>
<map name="datetime_8hdep" id="datetime_8hdep">
<area shape="rect" id="node3" href="_c_matrix_template_8h.html" title="CMatrixTemplate.h" alt="" coords="596,155,729,181"/><area shape="rect" id="node27" href="system_8h.html" title="system.h" alt="" coords="4703,229,4779,256"/><area shape="rect" id="node35" href="mrpt_event_8h.html" title="mrptEvent.h" alt="" coords="4156,80,4249,107"/><area shape="rect" id="node67" href="_c_observation_8h.html" title="CObservation.h" alt="" coords="2685,155,2797,181"/><area shape="rect" id="node138" href="carmen__log__tools_8h.html" title="carmen_log_tools.h" alt="" coords="4146,229,4280,256"/><area shape="rect" id="node145" href="_c_action_8h.html" title="CAction.h" alt="" coords="4879,229,4957,256"/><area shape="rect" id="node5" href="_c_matrix_template_numeric_8h.html" title="CMatrixTemplateNumeric.h" alt="" coords="5,229,187,256"/><area shape="rect" id="node9" href="_c_matrix_template_objects_8h.html" title="CMatrixTemplateObjects.h" alt="" coords="212,229,391,256"/><area shape="rect" id="node11" href="_c_binary_relation_8h.html" title="CBinaryRelation.h" alt="" coords="649,229,777,256"/><area shape="rect" id="node13" href="_c_config_file_base_8h.html" title="CConfigFileBase.h" alt="" coords="853,229,984,256"/><area shape="rect" id="node20" href="_c_robotic_head_interface_8h.html" title="CRoboticHeadInterface.h" alt="" coords="711,304,881,331"/><area shape="rect" id="node22" href="_c_generalized_cylinder_8h.html" title="CGeneralizedCylinder.h" alt="" coords="415,229,573,256"/><area shape="rect" id="node25" href="_c_angular_observation_mesh_8h.html" title="CAngularObservationMesh.h" alt="" coords="2879,379,3068,405"/><area shape="rect" id="node7" href="distributions_8h.html" title="distributions.h" alt="" coords="45,304,147,331"/><area shape="rect" id="node15" href="_c_generic_sensor_8h.html" title="CGenericSensor.h" alt="" coords="906,304,1035,331"/><area shape="rect" id="node17" href="_c_camera_sensor_8h.html" title="CCameraSensor.h" alt="" coords="756,379,885,405"/><area shape="rect" id="node29" href="base_8h.html" title="base.h" alt="" coords="4769,304,4831,331"/><area shape="rect" id="node31" href="_c_face_detection_8h.html" title="CFaceDetection.h" alt="" coords="4617,304,4745,331"/><area shape="rect" id="node33" href="_c_h_m_t_s_l_a_m_8h.html" title="CHMTSLAM.h" alt="" coords="5078,453,5185,480"/><area shape="rect" id="node37" href="_c_observable_8h.html" title="CObservable.h" alt="" coords="4148,155,4257,181"/><area shape="rect" id="node39" href="base_2include_2mrpt_2utils_8h.html" title="utils.h" alt="" coords="4343,229,4400,256"/><area shape="rect" id="node60" href="_c_observer_8h.html" title="CObserver.h" alt="" coords="4281,155,4377,181"/><area shape="rect" id="node64" href="_c_metric_map_events_8h.html" title="CMetricMapEvents.h" alt="" coords="3866,155,4011,181"/><area shape="rect" id="node42" href="_c_metric_map_8h.html" title="CMetricMap.h" alt="" coords="3865,229,3969,256"/><area shape="rect" id="node44" href="_c_observation2_d_range_scan_8h.html" title="CObservation2DRangeScan.h" alt="" coords="3593,304,3791,331"/><area shape="rect" id="node48" href="obs_8h.html" title="obs.h" alt="" coords="3501,453,3555,480"/><area shape="rect" id="node50" href="slam_8h.html" title="slam.h" alt="" coords="2379,453,2440,480"/><area shape="rect" id="node53" href="_c_planar_laser_scan_8h.html" title="CPlanarLaserScan.h" alt="" coords="3834,379,3976,405"/><area shape="rect" id="node46" href="_c_sensory_frame_8h.html" title="CSensoryFrame.h" alt="" coords="3631,379,3759,405"/><area shape="rect" id="node69" href="_c_detectable_object_8h.html" title="CDetectableObject.h" alt="" coords="3103,229,3247,256"/><area shape="rect" id="node71" href="_c_observation3_d_range_scan_8h.html" title="CObservation3DRangeScan.h" alt="" coords="2879,229,3077,256"/><area shape="rect" id="node79" href="_c_observation_gas_sensors_8h.html" title="CObservationGasSensors.h" alt="" coords="1207,379,1392,405"/><area shape="rect" id="node83" href="_c_observation_wireless_power_8h.html" title="CObservationWirelessPower.h" alt="" coords="1613,379,1813,405"/><area shape="rect" id="node87" href="_c_observation_image_8h.html" title="CObservationImage.h" alt="" coords="1839,379,1987,405"/><area shape="rect" id="node91" href="_c_observation_g_p_s_8h.html" title="CObservationGPS.h" alt="" coords="2012,379,2152,405"/><area shape="rect" id="node95" href="_c_observation_bearing_range_8h.html" title="CObservationBearingRange.h" alt="" coords="2177,379,2372,405"/><area shape="rect" id="node100" href="_c_observation_range_8h.html" title="CObservationRange.h" alt="" coords="1111,229,1261,256"/><area shape="rect" id="node106" href="_c_observation_stereo_images_8h.html" title="CObservationStereoImages.h" alt="" coords="2497,379,2692,405"/><area shape="rect" id="node110" href="_c_observation_i_m_u_8h.html" title="CObservationIMU.h" alt="" coords="2716,379,2855,405"/><area shape="rect" id="node116" href="_c_observation_stereo_images_features_8h.html" title="CObservationStereoImagesFeatures.h" alt="" coords="4095,304,4340,331"/><area shape="rect" id="node119" href="_c_observation_beacon_ranges_8h.html" title="CObservationBeaconRanges.h" alt="" coords="3092,379,3295,405"/><area shape="rect" id="node123" href="_c_observation_battery_state_8h.html" title="CObservationBatteryState.h" alt="" coords="3369,379,3556,405"/><area shape="rect" id="node127" href="_c_observation_odometry_8h.html" title="CObservationOdometry.h" alt="" coords="1012,379,1183,405"/><area shape="rect" id="node131" href="_c_observation_comment_8h.html" title="CObservationComment.h" alt="" coords="1417,379,1588,405"/><area shape="rect" id="node135" href="_c_observation_reflectivity_8h.html" title="CObservationReflectivity.h" alt="" coords="4364,304,4543,331"/><area shape="rect" id="node142" href="_c_observation_visual_landmarks_8h.html" title="CObservationVisualLandmarks.h" alt="" coords="423,304,636,331"/><area shape="rect" id="node147" href="_c_action_robot_movement2_d_8h.html" title="CActionRobotMovement2D.h" alt="" coords="4957,304,5149,331"/><area shape="rect" id="node149" href="_c_action_collection_8h.html" title="CActionCollection.h" alt="" coords="5007,379,5145,405"/><area shape="rect" id="node158" href="_c_action_robot_movement3_d_8h.html" title="CActionRobotMovement3D.h" alt="" coords="4103,379,4296,405"/></map>
</div>
</div>
<p><a href="datetime_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1system_1_1_t_time_parts.html">mrpt::system::TTimeParts</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The parts of a date/time (it's like the standard 'tm' but with fractions of seconds).  <a href="structmrpt_1_1system_1_1_t_time_parts.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt.html">mrpt</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. </p>
<br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemrpt_1_1system.html">mrpt::system</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><p>This namespace provides a OS-independent interface to many useful functions: filenames manipulation, time and date, string parsing, file I/O, threading, memory allocation, etc. </p>
<br/></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="datetime_8h.html#a2a0a650d16403da1f447b7543ce68e2b">INVALID_TIMESTAMP</a>&#160;&#160;&#160;(0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Represents an invalid timestamp, where applicable.  <a href="#a2a0a650d16403da1f447b7543ce68e2b"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A system independent time type, it holds the the number of 100-nanosecond intervals since January 1, 1601 (UTC).  <a href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> <br class="typebreak"/>
BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#gae5c2069a367dd2255a98a57997ecd6dd">mrpt::system::buildTimestampFromParts</a> (const <a class="el" href="structmrpt_1_1system_1_1_t_time_parts.html">mrpt::system::TTimeParts</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Builds a timestamp from the parts (Parts are in UTC)  <a href="group__time__date.html#gae5c2069a367dd2255a98a57997ecd6dd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> <br class="typebreak"/>
BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#gac47630067af4e9d3a10bdec99dc2c89f">mrpt::system::buildTimestampFromPartsLocalTime</a> (const <a class="el" href="structmrpt_1_1system_1_1_t_time_parts.html">mrpt::system::TTimeParts</a> &amp;p)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Builds a timestamp from the parts (Parts are in local time)  <a href="group__time__date.html#gac47630067af4e9d3a10bdec99dc2c89f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#gaea0cf13ef6fcea522d61f857784492b0">mrpt::system::timestampToParts</a> (TTimeStamp t, TTimeParts &amp;p, bool localTime=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the individual parts of a date/time (days, hours, minutes, seconds) - UTC time or local time.  <a href="group__time__date.html#gaea0cf13ef6fcea522d61f857784492b0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> <br class="typebreak"/>
BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga8ffef5e63c4e445f2134f4e237a8547a">mrpt::system::getCurrentTime</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current (UTC) system time.  <a href="group__time__date.html#ga8ffef5e63c4e445f2134f4e237a8547a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga8cfac7450724f121d3a6a40a4b9ce205">mrpt::system::now</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A shortcut for <a class="el" href="group__time__date.html#ga8ffef5e63c4e445f2134f4e237a8547a" title="Returns the current (UTC) system time.">system::getCurrentTime</a>.  <a href="group__time__date.html#ga8cfac7450724f121d3a6a40a4b9ce205"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> <br class="typebreak"/>
BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga2ef2346fc2d6bc3fd59067cfb63664e9">mrpt::system::getCurrentLocalTime</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current (local) time.  <a href="group__time__date.html#ga2ef2346fc2d6bc3fd59067cfb63664e9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> <br class="typebreak"/>
BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga6a61ebdcaac6a46c162da8c5c1d94c18">mrpt::system::time_tToTimestamp</a> (const double &amp;t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform from standard "time_t" (actually a double number, it can contain fractions of seconds) to TTimeStamp.  <a href="group__time__date.html#ga6a61ebdcaac6a46c162da8c5c1d94c18"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> <br class="typebreak"/>
BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#gae48e0b5adc75674689b40655c20adce3">mrpt::system::time_tToTimestamp</a> (const time_t &amp;t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform from standard "time_t" to TTimeStamp.  <a href="group__time__date.html#gae48e0b5adc75674689b40655c20adce3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga174de88e05dcdb49a3ddd7bde16bdc20">mrpt::system::timestampTotime_t</a> (const <a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform from TTimeStamp to standard "time_t" (actually a double number, it can contain fractions of seconds).  <a href="group__time__date.html#ga174de88e05dcdb49a3ddd7bde16bdc20"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga543c257e49de7d955dbd3ea91b4237e2">mrpt::system::timestampToDouble</a> (const <a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform from TTimeStamp to standard "time_t" (actually a double number, it can contain fractions of seconds).  <a href="group__time__date.html#ga543c257e49de7d955dbd3ea91b4237e2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga0f49560ffd1a24aa1a768344d8c7dd27">mrpt::system::timeDifference</a> (const <a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t_first, const <a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t_later)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retuns the time difference from t1 to t2 (positive if t2 is posterior to t1), in seconds.  <a href="group__time__date.html#ga0f49560ffd1a24aa1a768344d8c7dd27"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> <br class="typebreak"/>
BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga70c53ac763448013b013164c1960255b">mrpt::system::secondsToTimestamp</a> (const double &amp;nSeconds)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform a time interval (in seconds) into TTimeStamp (e.g.  <a href="group__time__date.html#ga70c53ac763448013b013164c1960255b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1string.html">std::string</a> BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga19c9ba03de2d9944dc7075ebce87abf6">mrpt::system::formatTimeInterval</a> (const double &amp;timeSeconds)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a formated string with the given time difference (passed as the number of seconds), as a string [H]H:MM:SS.MILISECS.  <a href="group__time__date.html#ga19c9ba03de2d9944dc7075ebce87abf6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1string.html">std::string</a> BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga61d5954c4e4e53398ca964634e498b83">mrpt::system::dateTimeToString</a> (const <a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a timestamp into this textual form (UTC time): YEAR/MONTH/DAY,HH:MM:SS.MMM.  <a href="group__time__date.html#ga61d5954c4e4e53398ca964634e498b83"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1string.html">std::string</a> BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga3c75acbd894c8a3ff621641a47aa8c28">mrpt::system::dateTimeLocalToString</a> (const <a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a timestamp into this textual form (in local time): YEAR/MONTH/DAY,HH:MM:SS.MMM.  <a href="group__time__date.html#ga3c75acbd894c8a3ff621641a47aa8c28"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1string.html">std::string</a> BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga570d214be797dec1d694c04cae62b968">mrpt::system::dateToString</a> (const <a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a timestamp into this textual form: YEAR/MONTH/DAY.  <a href="group__time__date.html#ga570d214be797dec1d694c04cae62b968"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga7599b1b1aab840b775479f54b8d3d1e7">mrpt::system::extractDayTimeFromTimestamp</a> (const <a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of seconds ellapsed from midnight in the given timestamp.  <a href="group__time__date.html#ga7599b1b1aab840b775479f54b8d3d1e7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1string.html">std::string</a> BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#gac16a09c8efe474c49980837fabdc3df1">mrpt::system::timeToString</a> (const <a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a timestamp into this textual form (UTC): HH:MM:SS.MMMMMM.  <a href="group__time__date.html#gac16a09c8efe474c49980837fabdc3df1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1string.html">std::string</a> BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga38a53d6f98af05d1ac427dbb26b38ea5">mrpt::system::timeLocalToString</a> (const <a class="el" href="group__time__date.html#ga42674286d8d56afea013b6329bb7327a">mrpt::system::TTimeStamp</a> &amp;t, unsigned int secondFractionDigits=6)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a timestamp into this textual form (in local time): HH:MM:SS.MMMMMM.  <a href="group__time__date.html#ga38a53d6f98af05d1ac427dbb26b38ea5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1string.html">std::string</a> BASE_IMPEXP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__time__date.html#ga2585751c6ca99999a85d4819854dbb83">mrpt::system::intervalFormat</a> (const double seconds)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This function implements time interval formatting: Given a time in seconds, it will return a string describing the interval with the most appropriate unit.  <a href="group__time__date.html#ga2585751c6ca99999a85d4819854dbb83"></a><br/></td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="a2a0a650d16403da1f447b7543ce68e2b"></a><!-- doxytag: member="datetime.h::INVALID_TIMESTAMP" ref="a2a0a650d16403da1f447b7543ce68e2b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INVALID_TIMESTAMP&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Represents an invalid timestamp, where applicable. </p>

<p>Definition at line <a class="el" href="datetime_8h_source.html#l00034">34</a> of file <a class="el" href="datetime_8h_source.html">datetime.h</a>.</p>

</div>
</div>
</div>
<br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150">  </td></tr> </table>  </body></html>