| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
| <title>oscl_time.h Source File</title> |
| <link href="doxygen.css" rel="stylesheet" type="text/css"> |
| </head><body> |
| <!-- Generated by Doxygen 1.2.18 --> |
| <center> |
| <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> <a class="qindex" href="pages.html">Related Pages</a> </center> |
| <hr><h1>oscl_time.h</h1><a href="oscl__time_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// -*- c++ -*-</span> |
| 00002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> |
| 00003 |
| 00004 <span class="comment">// O S C L _ T I M E ( T I M E F U N C T I O N S )</span> |
| 00005 |
| 00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> |
| 00007 |
| 00022 <span class="preprocessor">#ifndef OSCL_TIME_H_INCLUDED</span> |
| 00023 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_TIME_H_INCLUDED</span> |
| 00024 <span class="preprocessor"></span> |
| 00025 <span class="comment">// - - Inclusion - - - - - - - - - - - - - - - - - - - - - - - - - - - -</span> |
| 00026 |
| 00027 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span> |
| 00028 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span> |
| 00029 <span class="preprocessor">#endif</span> |
| 00030 <span class="preprocessor"></span> |
| 00031 <span class="preprocessor">#ifndef OSCLCONFIG_TIME_H_INCLUDED</span> |
| 00032 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="osclconfig__time_8h.html">osclconfig_time.h</a>"</span> |
| 00033 <span class="preprocessor">#endif</span> |
| 00034 <span class="preprocessor"></span> |
| 00035 <span class="preprocessor">#ifndef OSCL_INT64_UTILS_INCLUDED</span> |
| 00036 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__int64__utils_8h.html">oscl_int64_utils.h</a>"</span> |
| 00037 <span class="preprocessor">#endif</span> |
| 00038 <span class="preprocessor"></span> |
| <a name="l00039"></a><a class="code" href="group__osclbase.html#a0">00039</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="group__osclbase.html#a0">CTIME_BUFFER_SIZE</a> = 26; |
| 00040 |
| <a name="l00041"></a><a class="code" href="group__osclbase.html#a1">00041</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="group__osclbase.html#a1">PV8601TIME_BUFFER_SIZE</a> = 21; |
| <a name="l00042"></a><a class="code" href="group__osclbase.html#a2">00042</a> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="group__osclbase.html#a2">ISO8601TIME_BUFFER_SIZE</a> = 21; |
| 00043 |
| <a name="l00044"></a><a class="code" href="group__osclbase.html#a3">00044</a> <span class="keyword">typedef</span> <span class="keywordtype">char</span> <a class="code" href="group__osclbase.html#a3">CtimeStrBuf</a>[<a class="code" href="group__osclbase.html#a0">CTIME_BUFFER_SIZE</a>]; |
| <a name="l00045"></a><a class="code" href="group__osclbase.html#a4">00045</a> <span class="keyword">typedef</span> <span class="keywordtype">char</span> <a class="code" href="group__osclbase.html#a4">PV8601timeStrBuf</a>[<a class="code" href="group__osclbase.html#a1">PV8601TIME_BUFFER_SIZE</a>]; |
| <a name="l00046"></a><a class="code" href="group__osclbase.html#a5">00046</a> <span class="keyword">typedef</span> <span class="keywordtype">char</span> <a class="code" href="group__osclbase.html#a5">ISO8601timeStrBuf</a>[<a class="code" href="group__osclbase.html#a2">ISO8601TIME_BUFFER_SIZE</a>]; |
| 00047 |
| 00048 <span class="keyword">class </span><a class="code" href="classTimeValue.html">TimeValue</a>; <span class="comment">// Forward definition</span> |
| 00049 |
| 00050 <a class="code" href="osclconfig_8h.html#a3">OSCL_IMPORT_REF</a> <span class="keywordtype">void</span> <a class="code" href="group__osclbase.html#a77">PV8601ToRFC822</a>(<a class="code" href="group__osclbase.html#a4">PV8601timeStrBuf</a> pv8601_buffer, <a class="code" href="group__osclbase.html#a3">CtimeStrBuf</a> ctime_buffer); |
| 00051 <a class="code" href="osclconfig_8h.html#a3">OSCL_IMPORT_REF</a> <span class="keywordtype">void</span> <a class="code" href="group__osclbase.html#a78">ISO8601ToRFC822</a>(<a class="code" href="group__osclbase.html#a5">ISO8601timeStrBuf</a> iso8601_buffer, <a class="code" href="group__osclbase.html#a3">CtimeStrBuf</a> ctime_buffer); |
| 00052 <a class="code" href="osclconfig_8h.html#a3">OSCL_IMPORT_REF</a> <span class="keywordtype">void</span> <a class="code" href="group__osclbase.html#a79">RFC822ToPV8601</a>(<a class="code" href="group__osclbase.html#a3">CtimeStrBuf</a> ctime_buffer, <a class="code" href="group__osclbase.html#a4">PV8601timeStrBuf</a>); |
| 00053 |
| 00054 <span class="comment">// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</span> |
| <a name="l00056"></a><a class="code" href="group__osclbase.html#a115">00056</a> <span class="comment">typedef enum { SECONDS = 0, MILLISECONDS = 1, MICROSECONDS = 2 } TimeUnits;</span> |
| 00057 |
| <a name="l00058"></a><a class="code" href="group__osclbase.html#a6">00058</a> <span class="keyword">const</span> <span class="keywordtype">long</span> <a class="code" href="group__osclbase.html#a6">USEC_PER_SEC</a> = 1000000; |
| <a name="l00059"></a><a class="code" href="group__osclbase.html#a7">00059</a> <span class="keyword">const</span> <span class="keywordtype">long</span> <a class="code" href="group__osclbase.html#a7">MSEC_PER_SEC</a> = 1000; |
| 00060 |
| 00062 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">long</span> MapToSeconds[] = {1, 1000, 1000000}; |
| 00063 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">long</span> MapToUSeconds[] = {1000000, 1000, 1}; |
| 00064 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">long</span> MapTo100NanoSeconds[] = {10000000, 10000, 10}; |
| <a name="l00065"></a><a class="code" href="group__osclbase.html#a11">00065</a> <span class="keyword">const</span> uint32 <a class="code" href="group__osclbase.html#a11">unix_ntp_offset</a> = 2208988800U; |
| 00066 |
| 00067 <span class="comment">// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</span> |
| 00068 |
| 00070 |
| <a name="l00079"></a><a class="code" href="classNTPTime.html">00079</a> <span class="keyword">class </span><a class="code" href="classNTPTime.html">NTPTime</a> |
| 00080 { |
| 00081 |
| 00082 <span class="keyword">private</span>: |
| 00083 <a class="code" href="group__osclbase.html#a33">uint64</a> timevalue; |
| 00084 |
| 00085 <span class="keyword">public</span>: |
| 00087 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classNTPTime.html#a0">NTPTime</a>(); |
| 00088 |
| 00090 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classNTPTime.html#a0">NTPTime</a>(<span class="keyword">const</span> <a class="code" href="classNTPTime.html">NTPTime</a>& src); |
| 00091 |
| 00093 |
| 00094 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classNTPTime.html#a0">NTPTime</a>(<span class="keyword">const</span> uint32 seconds); |
| 00095 |
| 00097 |
| 00098 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classNTPTime.html#a0">NTPTime</a>(<span class="keyword">const</span> int32 seconds); |
| 00099 |
| 00101 |
| 00105 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classNTPTime.html#a0">NTPTime</a>(<span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& t); |
| 00106 |
| 00108 |
| 00109 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classNTPTime.html#a0">NTPTime</a>(<span class="keyword">const</span> <a class="code" href="group__osclbase.html#a33">uint64</a> value); |
| 00110 |
| 00111 |
| 00113 |
| 00114 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classNTPTime.html">NTPTime</a>& <a class="code" href="classNTPTime.html#a6">operator=</a>(uint32 newval); |
| 00115 |
| 00117 |
| 00118 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classNTPTime.html">NTPTime</a>& <a class="code" href="classNTPTime.html#a6">operator=</a>(<a class="code" href="group__osclbase.html#a33">uint64</a> newval); |
| 00119 |
| 00121 |
| 00122 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classNTPTime.html">NTPTime</a>& <a class="code" href="classNTPTime.html#a8">operator+=</a>(<a class="code" href="group__osclbase.html#a33">uint64</a> val); |
| 00123 |
| 00125 |
| 00126 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classNTPTime.html">NTPTime</a> <a class="code" href="classNTPTime.html#a9">operator-</a>(<span class="keyword">const</span> <a class="code" href="classNTPTime.html">NTPTime</a> &ntpt) <span class="keyword">const</span>; |
| 00127 |
| 00129 |
| 00135 <span class="keywordtype">void</span> <a class="code" href="classNTPTime.html#a10">set_from_system_time</a>(<span class="keyword">const</span> uint32 systemtime); |
| 00136 |
| 00138 <span class="comment">/* \return This method returns the middle 32 bits of the 32.32 representation. */</span> |
| 00139 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> uint32 <a class="code" href="classNTPTime.html#a11">get_middle32</a>() <span class="keyword">const</span>; |
| 00140 |
| 00142 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> uint32 <a class="code" href="classNTPTime.html#a12">get_upper32</a>() <span class="keyword">const</span>; |
| 00143 |
| 00145 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> uint32 <a class="code" href="classNTPTime.html#a13">get_lower32</a>() <span class="keyword">const</span>; |
| 00146 |
| 00148 |
| 00152 int32 <a class="code" href="classNTPTime.html#a14">to_system_time</a>() <span class="keyword">const</span>; |
| 00153 |
| 00155 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="group__osclbase.html#a33">uint64</a> <a class="code" href="classNTPTime.html#a15">get_value</a>() <span class="keyword">const</span>; |
| 00156 |
| 00158 <a class="code" href="osclconfig_8h.html#a3">OSCL_IMPORT_REF</a> <span class="keywordtype">int</span> <a class="code" href="classNTPTime.html#a16">set_to_current_time</a>(); |
| 00159 |
| 00160 }; |
| 00161 |
| 00162 <span class="comment">// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</span> |
| 00164 <span class="comment"></span> |
| <a name="l00177"></a><a class="code" href="classTimeValue.html">00177</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classTimeValue.html">TimeValue</a> |
| 00178 { |
| 00179 |
| 00180 <span class="keyword">public</span>: |
| 00182 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classTimeValue.html#a0">TimeValue</a>(); |
| 00183 |
| 00185 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classTimeValue.html#a0">TimeValue</a>(<span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& Tv); |
| 00186 |
| 00188 |
| 00192 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classTimeValue.html#a0">TimeValue</a>(<span class="keywordtype">long</span> tv, <a class="code" href="group__osclbase.html#a115">TimeUnits</a> units); |
| 00193 |
| 00195 |
| 00197 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classTimeValue.html#a0">TimeValue</a>(<span class="keyword">const</span> <a class="code" href="osclconfig__time_8h.html#a1">OsclBasicTimeStruct</a>& in_tv); |
| 00198 |
| 00199 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classTimeValue.html#a0">TimeValue</a>(<span class="keyword">const</span> <a class="code" href="group__osclbase.html#a5">ISO8601timeStrBuf</a> time_strbuf); |
| 00202 |
| 00214 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classTimeValue.html#a0">TimeValue</a>(uint16 aYear, uint16 aMonth, uint16 aDay, uint16 aHour, |
| 00215 uint16 aMinute, uint16 aSecond, uint16 aMilliseconds); |
| 00216 |
| 00218 |
| 00222 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classTimeValue.html#a0">TimeValue</a>(<a class="code" href="osclconfig__time_8h.html#a2">OsclBasicDateTimeStruct</a> in_ts); |
| 00223 |
| 00225 |
| 00228 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> int32 <a class="code" href="classTimeValue.html#a7">get_local_time</a>(); |
| 00229 |
| 00230 |
| <a name="l00231"></a><a class="code" href="classTimeValue.html#l0">00231</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classNTPTime.html">NTPTime</a>; |
| 00232 |
| 00234 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <span class="keywordtype">void</span> <a class="code" href="classTimeValue.html#a8">set_to_zero</a>(); |
| 00235 |
| 00237 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <span class="keywordtype">void</span> <a class="code" href="classTimeValue.html#a9">set_to_current_time</a>(); |
| 00238 |
| 00240 |
| 00244 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <span class="keywordtype">void</span> <a class="code" href="classTimeValue.html#a10">set_from_ntp_time</a>(<span class="keyword">const</span> uint32 ntp_offset); |
| 00245 |
| 00247 |
| 00254 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> uint32 <a class="code" href="classTimeValue.html#a11">get_sec</a>() <span class="keyword">const</span> ; |
| 00255 |
| 00256 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> int32 <a class="code" href="classTimeValue.html#a12">to_msec</a>() <span class="keyword">const</span>; |
| 00257 |
| 00259 |
| 00262 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> uint32 <a class="code" href="classTimeValue.html#a13">get_usec</a>() <span class="keyword">const</span> ; |
| 00264 |
| 00270 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="group__osclbase.html#a33">uint64</a> <a class="code" href="classTimeValue.html#a14">get_timevalue_in_usec</a>() <span class="keyword">const</span> ; |
| 00271 |
| 00273 |
| 00278 <a class="code" href="osclconfig_8h.html#a3">OSCL_IMPORT_REF</a> <span class="keywordtype">char</span> *<a class="code" href="classTimeValue.html#a15">get_str_ctime</a>(<a class="code" href="group__osclbase.html#a3">CtimeStrBuf</a> ctime_strbuf); |
| 00279 |
| 00281 |
| 00285 <a class="code" href="osclconfig_8h.html#a3">OSCL_IMPORT_REF</a> <span class="keywordtype">int</span> <a class="code" href="classTimeValue.html#a16">get_pv8601_str_time</a>(<a class="code" href="group__osclbase.html#a4">PV8601timeStrBuf</a> time_strbuf); |
| 00286 |
| 00288 |
| 00292 <a class="code" href="osclconfig_8h.html#a3">OSCL_IMPORT_REF</a> <span class="keywordtype">int</span> <a class="code" href="classTimeValue.html#a17">get_ISO8601_str_time</a>(<a class="code" href="group__osclbase.html#a5">ISO8601timeStrBuf</a> time_strbuf); |
| 00293 |
| 00295 |
| 00301 <a class="code" href="osclconfig_8h.html#a3">OSCL_IMPORT_REF</a> <span class="keywordtype">char</span> *<a class="code" href="classTimeValue.html#a18">get_rfc822_gmtime_str</a>(<span class="keywordtype">int</span> max_time_strlen, |
| 00302 <span class="keywordtype">char</span> *time_str); |
| 00303 |
| 00305 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <span class="keywordtype">bool</span> <a class="code" href="classTimeValue.html#a19">is_zero</a>(); |
| 00306 |
| 00308 |
| 00309 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <span class="keywordtype">bool</span> <a class="code" href="classTimeValue.html#a20">is_zulu</a>() <span class="keyword">const</span>; |
| 00310 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <span class="keywordtype">void</span> <a class="code" href="classTimeValue.html#a21">set_zulu</a>(<span class="keywordtype">bool</span> <a class="code" href="classTimeValue.html#a20">is_zulu</a>); |
| 00311 |
| 00312 <span class="comment">// comparison operators</span> |
| 00313 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="classTimeValue.html#l1">operator ==</a>(<span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& a, <span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& b); |
| 00314 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="classTimeValue.html#l2">operator !=</a>(<span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& a, <span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& b); |
| 00315 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="classTimeValue.html#l3">operator <=</a>(<span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& a, <span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& b); |
| 00316 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="classTimeValue.html#l4">operator >=</a>(<span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& a, <span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& b); |
| 00317 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="classTimeValue.html#l5">operator <</a>(<span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& a, <span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& b); |
| 00318 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="classTimeValue.html#l6">operator ></a>(<span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& a, <span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& b); |
| 00319 |
| 00321 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classTimeValue.html">TimeValue</a>& <a class="code" href="classTimeValue.html#a22">operator =</a>(<span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& a); |
| 00322 |
| 00323 <span class="comment">// arithmetic operators</span> |
| 00325 <span class="comment"> OSCL_COND_IMPORT_REF TimeValue& operator +=(const TimeValue& a);</span> |
| 00327 <span class="comment"> OSCL_COND_IMPORT_REF TimeValue& operator -=(const TimeValue& a);</span> |
| 00329 <span class="comment"> OSCL_COND_IMPORT_REF TimeValue& operator *=(const int scale);</span> |
| 00330 |
| 00331 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="osclconfig__time_8h.html#a1">OsclBasicTimeStruct</a> * <a class="code" href="classTimeValue.html#a26">get_timeval_ptr</a>(); |
| 00332 |
| 00333 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classTimeValue.html">TimeValue</a>& <a class="code" href="classTimeValue.html#a23">operator+=</a>(<span class="keyword">const</span> int32 aSeconds); |
| 00334 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classTimeValue.html">TimeValue</a>& <a class="code" href="classTimeValue.html#a24">operator-=</a>(<span class="keyword">const</span> int32 aSeconds); |
| 00335 <span class="keyword">private</span>: |
| 00336 |
| 00337 <span class="keywordtype">bool</span> zulu; |
| 00338 <a class="code" href="osclconfig__time_8h.html#a1">OsclBasicTimeStruct</a> ts; |
| 00339 <span class="keyword">const</span> <a class="code" href="osclconfig__time_8h.html#a1">OsclBasicTimeStruct</a> *getBasicTimeStruct()<span class="keyword"> const</span> |
| 00340 <span class="keyword"> </span>{ |
| 00341 <span class="keywordflow">return</span> &ts; |
| 00342 }; |
| 00343 |
| 00344 }; |
| 00345 |
| 00346 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classTimeValue.html">TimeValue</a> <a class="code" href="group__osclbase.html#a84">operator -</a>(<span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& a, <span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& b); |
| 00347 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classTimeValue.html">TimeValue</a> <a class="code" href="group__osclbase.html#a82">operator+</a>(<span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& a, <span class="keyword">const</span> int32 bSeconds); |
| 00348 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classTimeValue.html">TimeValue</a> <a class="code" href="group__osclbase.html#a82">operator+</a>(<span class="keyword">const</span> int32 aSeconds, <span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& b); |
| 00349 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classTimeValue.html">TimeValue</a> <a class="code" href="group__osclbase.html#a84">operator-</a>(<span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& a, <span class="keyword">const</span> int32 bSeconds); |
| 00350 <a class="code" href="group__osclbase.html#a91">OSCL_COND_IMPORT_REF</a> <a class="code" href="classTimeValue.html">TimeValue</a> <a class="code" href="group__osclbase.html#a84">operator-</a>(<span class="keyword">const</span> int32 aSeconds, <span class="keyword">const</span> <a class="code" href="classTimeValue.html">TimeValue</a>& b); |
| 00351 |
| 00352 <span class="preprocessor">#if (!OSCL_DISABLE_INLINES)</span> |
| 00353 <span class="preprocessor"></span><span class="preprocessor">#include "oscl_time.inl"</span> |
| 00354 <span class="preprocessor">#endif</span> |
| 00355 <span class="preprocessor"></span> |
| 00356 |
| 00357 <span class="comment">// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</span> |
| 00358 |
| 00362 <span class="preprocessor">#endif // OSCL_TIME_H_INCLUDED</span> |
| </pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> |
| <address style="align: left;"><small>Posting Version: CORE_8.000.1.1 </small> |
| </small></address> |
| </body> |
| </html> |