/usr/share/doc/libucommon-dev/a00191_source.html is in libucommon-doc 3.2.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>UCommon: ucommon/datetime.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<h1>ucommon/datetime.h</h1><a href="a00191.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2006-2010 David Sugar, Tycho Softworks.</span>
<a name="l00002"></a>00002 <span class="comment">//</span>
<a name="l00003"></a>00003 <span class="comment">// This file is part of GNU uCommon C++.</span>
<a name="l00004"></a>00004 <span class="comment">//</span>
<a name="l00005"></a>00005 <span class="comment">// GNU uCommon C++ is free software: you can redistribute it and/or modify</span>
<a name="l00006"></a>00006 <span class="comment">// it under the terms of the GNU Lesser General Public License as published </span>
<a name="l00007"></a>00007 <span class="comment">// by the Free Software Foundation, either version 3 of the License, or</span>
<a name="l00008"></a>00008 <span class="comment">// (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment">//</span>
<a name="l00010"></a>00010 <span class="comment">// GNU uCommon C++ is distributed in the hope that it will be useful,</span>
<a name="l00011"></a>00011 <span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00012"></a>00012 <span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span>
<a name="l00013"></a>00013 <span class="comment">// GNU Lesser General Public License for more details.</span>
<a name="l00014"></a>00014 <span class="comment">//</span>
<a name="l00015"></a>00015 <span class="comment">// You should have received a copy of the GNU Lesser General Public License</span>
<a name="l00016"></a>00016 <span class="comment">// along with GNU uCommon C++. If not, see <http://www.gnu.org/licenses/>.</span>
<a name="l00017"></a>00017
<a name="l00029"></a>00029 <span class="preprocessor">#ifndef _UCOMMON_DATETIME_H_</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#define _UCOMMON_DATETIME_H_</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span>
<a name="l00032"></a>00032 <span class="preprocessor">#ifndef _UCOMMON_CONFIG_H_</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="a00201.html" title="Various miscelanous platform specific headers and defines.">ucommon/platform.h</a>></span>
<a name="l00034"></a>00034 <span class="preprocessor">#endif</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span>
<a name="l00036"></a>00036 <span class="preprocessor">#ifndef _UCOMMON_NUMBERS_H_</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="a00198.html" title="Support classes for manipulation of numbers as strings.">ucommon/numbers.h</a>></span>
<a name="l00038"></a>00038 <span class="preprocessor">#endif</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span>
<a name="l00040"></a>00040 <span class="preprocessor">#ifndef _UCOMMON_STRING_H_</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#include <<a class="code" href="a00207.html" title="A common string class and character string support functions.">ucommon/string.h</a>></span>
<a name="l00042"></a>00042 <span class="preprocessor">#endif</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span>
<a name="l00044"></a>00044 <span class="preprocessor">#define DATE_STRING_SIZE 10</span>
<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#define DATE_BUFFER_SIZE 11</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#define TIME_STRING_SIZE 8</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor">#define TIME_BUFFER_SIZE 9</span>
<a name="l00048"></a>00048 <span class="preprocessor"></span><span class="preprocessor">#define DATETIME_STRING_SIZE 19</span>
<a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor">#define DATETIME_BUFFER_SIZE 20</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span>
<a name="l00051"></a>00051 NAMESPACE_UCOMMON
<a name="l00052"></a>00052
<a name="l00053"></a>00053 <span class="preprocessor">#ifdef __BORLANDC__</span>
<a name="l00054"></a>00054 <span class="preprocessor"></span> <span class="keyword">using</span> std::tm;
<a name="l00055"></a>00055 <span class="keyword">using</span> std::time_t;
<a name="l00056"></a>00056 <span class="preprocessor">#endif</span>
<a name="l00057"></a>00057 <span class="preprocessor"></span>
<a name="l00066"></a><a class="code" href="a00045.html">00066</a> <span class="keyword">class </span>__EXPORT <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>
<a name="l00067"></a>00067 {
<a name="l00068"></a>00068 <span class="keyword">protected</span>:
<a name="l00069"></a>00069 <span class="keywordtype">long</span> julian;
<a name="l00070"></a>00070
<a name="l00071"></a>00071 <span class="keywordtype">void</span> toJulian(<span class="keywordtype">long</span> year, <span class="keywordtype">long</span> month, <span class="keywordtype">long</span> day);
<a name="l00072"></a>00072 <span class="keywordtype">void</span> fromJulian(<span class="keywordtype">char</span> *buf) <span class="keyword">const</span>;
<a name="l00073"></a>00073
<a name="l00078"></a>00078 <span class="keyword">virtual</span> <span class="keywordtype">void</span> update(<span class="keywordtype">void</span>);
<a name="l00079"></a>00079
<a name="l00080"></a>00080 <span class="keyword">public</span>:
<a name="l00084"></a><a class="code" href="a00045.html#af6a394e61b3f83f67adea4d859272d71">00084</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {year = 10, month, day, dow} index_t;
<a name="l00085"></a>00085
<a name="l00089"></a><a class="code" href="a00045.html#abe62b69bd5b1ee9ee55d7709672cea9a">00089</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> sz_string;
<a name="l00090"></a>00090
<a name="l00095"></a>00095 <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>(time_t value);
<a name="l00096"></a>00096
<a name="l00101"></a>00101 <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>(<span class="keyword">struct</span> tm *<span class="keywordtype">object</span>);
<a name="l00102"></a>00102
<a name="l00108"></a>00108 <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a00015.html" title="Typed smart pointer class.">pointer</a>, <span class="keywordtype">size_t</span> size = 0);
<a name="l00109"></a>00109
<a name="l00116"></a>00116 <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>(<span class="keywordtype">int</span> year, <span class="keywordtype">unsigned</span> month = 1, <span class="keywordtype">unsigned</span> day = 1);
<a name="l00117"></a>00117
<a name="l00122"></a>00122 <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>(<span class="keyword">const</span> <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>& <span class="keywordtype">object</span>);
<a name="l00123"></a>00123
<a name="l00127"></a>00127 <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>();
<a name="l00128"></a>00128
<a name="l00132"></a>00132 <span class="keyword">virtual</span> ~<a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>();
<a name="l00133"></a>00133
<a name="l00138"></a>00138 <span class="keywordtype">int</span> getYear(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00139"></a>00139
<a name="l00144"></a>00144 <span class="keywordtype">unsigned</span> getMonth(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00145"></a>00145
<a name="l00150"></a>00150 <span class="keywordtype">unsigned</span> getDay(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00151"></a>00151
<a name="l00156"></a>00156 <span class="keywordtype">unsigned</span> getDayOfWeek(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00157"></a>00157
<a name="l00162"></a><a class="code" href="a00045.html#ac68ce368b83fb8a09e95afa588434c2d">00162</a> <span class="keyword">inline</span> <span class="keywordtype">long</span> getJulian(<span class="keywordtype">void</span>)
<a name="l00163"></a>00163 {<span class="keywordflow">return</span> julian;};
<a name="l00164"></a>00164
<a name="l00170"></a>00170 <span class="keywordtype">char</span> *<span class="keyword">get</span>(<span class="keywordtype">char</span> *buffer) <span class="keyword">const</span>;
<a name="l00171"></a>00171
<a name="l00176"></a>00176 time_t getTime(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00177"></a>00177
<a name="l00182"></a>00182 <span class="keywordtype">long</span> <span class="keyword">get</span>(void) <span class="keyword">const</span>;
<a name="l00183"></a>00183
<a name="l00187"></a>00187 <span class="keywordtype">void</span> <span class="keyword">set</span>(void);
<a name="l00188"></a>00188
<a name="l00194"></a>00194 <span class="keywordtype">void</span> <span class="keyword">set</span>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a00015.html" title="Typed smart pointer class.">pointer</a>, <span class="keywordtype">size_t</span> size = 0);
<a name="l00195"></a>00195
<a name="l00200"></a>00200 <span class="keywordtype">bool</span> isValid(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00201"></a>00201
<a name="l00206"></a><a class="code" href="a00045.html#acafc59ec941e2708632b2adbe360173b">00206</a> <span class="keyword">inline</span> operator long()<span class="keyword"> const</span>
<a name="l00207"></a>00207 <span class="keyword"> </span>{<span class="keywordflow">return</span> <span class="keyword">get</span>();};
<a name="l00208"></a>00208
<a name="l00214"></a>00214 <span class="keywordtype">int</span> operator[](index_t component) <span class="keyword">const</span>;
<a name="l00215"></a>00215
<a name="l00220"></a><a class="code" href="a00045.html#a075ec684b68d7a46988a636a183d33f1">00220</a> <span class="keyword">inline</span> <span class="keywordtype">long</span> operator*()<span class="keyword"> const</span>
<a name="l00221"></a>00221 <span class="keyword"> </span>{<span class="keywordflow">return</span> <span class="keyword">get</span>();};
<a name="l00222"></a>00222
<a name="l00228"></a>00228 <a class="code" href="a00157.html" title="A copy-on-write string class that operates by reference count.">String</a> operator()() <span class="keyword">const</span>;
<a name="l00229"></a>00229
<a name="l00234"></a>00234 <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>& operator++();
<a name="l00235"></a>00235
<a name="l00240"></a>00240 <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>& operator--();
<a name="l00241"></a>00241
<a name="l00247"></a>00247 <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>& operator+=(<span class="keywordtype">long</span> offset);
<a name="l00248"></a>00248
<a name="l00254"></a>00254 <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>& operator-=(<span class="keywordtype">long</span> offset);
<a name="l00255"></a>00255
<a name="l00261"></a>00261 <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a> operator+(<span class="keywordtype">long</span> days);
<a name="l00262"></a>00262
<a name="l00268"></a>00268 <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a> operator-(<span class="keywordtype">long</span> days);
<a name="l00269"></a>00269
<a name="l00275"></a><a class="code" href="a00045.html#a40dd7cf840fb2e6484eddd97f909c3aa">00275</a> <span class="keyword">inline</span> <span class="keywordtype">long</span> operator-(<span class="keyword">const</span> <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a> &date)
<a name="l00276"></a>00276 {<span class="keywordflow">return</span> (julian - date.julian);};
<a name="l00277"></a>00277
<a name="l00283"></a>00283 <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>& operator=(<span class="keyword">const</span> <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>& date);
<a name="l00284"></a>00284
<a name="l00290"></a>00290 <span class="keywordtype">bool</span> operator==(<span class="keyword">const</span> <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>& date);
<a name="l00291"></a>00291
<a name="l00297"></a>00297 <span class="keywordtype">bool</span> operator!=(<span class="keyword">const</span> <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>& date);
<a name="l00298"></a>00298
<a name="l00304"></a>00304 <span class="keywordtype">bool</span> operator<(<span class="keyword">const</span> <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>& date);
<a name="l00305"></a>00305
<a name="l00311"></a>00311 <span class="keywordtype">bool</span> operator<=(<span class="keyword">const</span> <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>& date);
<a name="l00312"></a>00312
<a name="l00318"></a>00318 <span class="keywordtype">bool</span> operator>(<span class="keyword">const</span> <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>& date);
<a name="l00319"></a>00319
<a name="l00325"></a>00325 <span class="keywordtype">bool</span> operator>=(<span class="keyword">const</span> <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>& date);
<a name="l00326"></a>00326
<a name="l00331"></a><a class="code" href="a00045.html#ab2cb3c7262c7741dfab24d1dec96c21e">00331</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator!()<span class="keyword"> const</span>
<a name="l00332"></a>00332 <span class="keyword"> </span>{<span class="keywordflow">return</span> !isValid();};
<a name="l00333"></a>00333
<a name="l00338"></a><a class="code" href="a00045.html#ab91635dc9f65ca4f79113ac3cccf5031">00338</a> <span class="keyword">inline</span> operator bool()<span class="keyword"> const</span>
<a name="l00339"></a>00339 <span class="keyword"> </span>{<span class="keywordflow">return</span> isValid();};
<a name="l00340"></a>00340 };
<a name="l00341"></a>00341
<a name="l00353"></a><a class="code" href="a00167.html">00353</a> <span class="keyword">class </span>__EXPORT <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>
<a name="l00354"></a>00354 {
<a name="l00355"></a>00355 <span class="keyword">protected</span>:
<a name="l00356"></a>00356 <span class="keywordtype">long</span> seconds;
<a name="l00357"></a>00357
<a name="l00358"></a>00358 <span class="keyword">protected</span>:
<a name="l00359"></a>00359 <span class="keywordtype">void</span> toSeconds(<span class="keywordtype">int</span> hour, <span class="keywordtype">int</span> minute = 0, <span class="keywordtype">int</span> second = 0);
<a name="l00360"></a>00360 <span class="keywordtype">void</span> fromSeconds(<span class="keywordtype">char</span> *buf) <span class="keyword">const</span>;
<a name="l00361"></a>00361 <span class="keyword">virtual</span> <span class="keywordtype">void</span> update(<span class="keywordtype">void</span>);
<a name="l00362"></a>00362
<a name="l00363"></a>00363 <span class="keyword">public</span>:
<a name="l00367"></a><a class="code" href="a00167.html#a630e9570113404c326204cd7a94d4918">00367</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {hour = 20, minute, second} index_t;
<a name="l00368"></a>00368
<a name="l00372"></a><a class="code" href="a00167.html#a3bd9b0267eb1a266519ea023118c1702">00372</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> sz_string;
<a name="l00373"></a>00373
<a name="l00378"></a>00378 <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>(time_t value);
<a name="l00379"></a>00379
<a name="l00384"></a>00384 <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>(<span class="keyword">struct</span> tm *<span class="keywordtype">object</span>);
<a name="l00385"></a>00385
<a name="l00391"></a>00391 <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>(<span class="keywordtype">char</span> *<a class="code" href="a00015.html" title="Typed smart pointer class.">pointer</a>, <span class="keywordtype">size_t</span> size = 0);
<a name="l00392"></a>00392
<a name="l00399"></a>00399 <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>(<span class="keywordtype">int</span> hour, <span class="keywordtype">int</span> minute, <span class="keywordtype">int</span> second);
<a name="l00400"></a>00400
<a name="l00405"></a>00405 <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>(<span class="keyword">const</span> <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>& <span class="keywordtype">object</span>);
<a name="l00406"></a>00406
<a name="l00410"></a>00410 <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>();
<a name="l00411"></a>00411
<a name="l00415"></a>00415 <span class="keyword">virtual</span> ~<a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>();
<a name="l00416"></a>00416
<a name="l00421"></a>00421 <span class="keywordtype">long</span> <span class="keyword">get</span>(void) <span class="keyword">const</span>;
<a name="l00422"></a>00422
<a name="l00427"></a>00427 <span class="keywordtype">int</span> getHour(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00428"></a>00428
<a name="l00433"></a>00433 <span class="keywordtype">int</span> getMinute(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00434"></a>00434
<a name="l00439"></a>00439 <span class="keywordtype">int</span> getSecond(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00440"></a>00440
<a name="l00446"></a>00446 <span class="keywordtype">char</span> *<span class="keyword">get</span>(<span class="keywordtype">char</span> *buffer) <span class="keyword">const</span>;
<a name="l00447"></a>00447
<a name="l00451"></a>00451 <span class="keywordtype">void</span> <span class="keyword">set</span>(void);
<a name="l00452"></a>00452
<a name="l00458"></a>00458 <span class="keywordtype">void</span> <span class="keyword">set</span>(<span class="keywordtype">char</span> *<a class="code" href="a00015.html" title="Typed smart pointer class.">pointer</a>, <span class="keywordtype">size_t</span> size = 0);
<a name="l00459"></a>00459
<a name="l00464"></a>00464 <span class="keywordtype">bool</span> isValid(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00465"></a>00465
<a name="l00470"></a><a class="code" href="a00167.html#a3fe1dff20ca3bd196eb865792965d3d0">00470</a> <span class="keyword">inline</span> operator bool()<span class="keyword"> const</span>
<a name="l00471"></a>00471 <span class="keyword"> </span>{<span class="keywordflow">return</span> isValid();};
<a name="l00472"></a>00472
<a name="l00477"></a><a class="code" href="a00167.html#a7479328c38e9de9ba5134a8fb8207735">00477</a> <span class="keyword">inline</span> <span class="keywordtype">bool</span> operator!()<span class="keyword"> const</span>
<a name="l00478"></a>00478 <span class="keyword"> </span>{<span class="keywordflow">return</span> !isValid();};
<a name="l00479"></a>00479
<a name="l00485"></a>00485 <span class="keywordtype">long</span> operator-(<span class="keyword">const</span> <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a> &reference);
<a name="l00486"></a>00486
<a name="l00492"></a>00492 <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a> operator+(<span class="keywordtype">long</span> seconds);
<a name="l00493"></a>00493
<a name="l00499"></a>00499 <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a> operator-(<span class="keywordtype">long</span> seconds);
<a name="l00500"></a>00500
<a name="l00505"></a><a class="code" href="a00167.html#ae0e04d6fc1ca70e3abc7e09f4a658115">00505</a> <span class="keyword">inline</span> operator long()
<a name="l00506"></a>00506 {<span class="keywordflow">return</span> <span class="keyword">get</span>();};
<a name="l00507"></a>00507
<a name="l00512"></a><a class="code" href="a00167.html#a115331a9b40c5248309fae62c507d0b7">00512</a> <span class="keyword">inline</span> <span class="keywordtype">long</span> operator*()<span class="keyword"> const</span>
<a name="l00513"></a>00513 <span class="keyword"> </span>{<span class="keywordflow">return</span> <span class="keyword">get</span>();};
<a name="l00514"></a>00514
<a name="l00520"></a>00520 <span class="keywordtype">int</span> operator[](index_t component) <span class="keyword">const</span>;
<a name="l00521"></a>00521
<a name="l00526"></a>00526 <a class="code" href="a00157.html" title="A copy-on-write string class that operates by reference count.">String</a> operator()() <span class="keyword">const</span>;
<a name="l00527"></a>00527
<a name="l00532"></a>00532 <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>& operator++();
<a name="l00533"></a>00533
<a name="l00538"></a>00538 <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>& operator--();
<a name="l00539"></a>00539
<a name="l00545"></a>00545 <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>& operator=(<span class="keyword">const</span> <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>& time);
<a name="l00546"></a>00546
<a name="l00552"></a>00552 <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>& operator+=(<span class="keywordtype">long</span> seconds);
<a name="l00553"></a>00553
<a name="l00559"></a>00559 <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>& operator-=(<span class="keywordtype">long</span> seconds);
<a name="l00560"></a>00560
<a name="l00566"></a>00566 <span class="keywordtype">bool</span> operator==(<span class="keyword">const</span> <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a> &time);
<a name="l00567"></a>00567
<a name="l00573"></a>00573 <span class="keywordtype">bool</span> operator!=(<span class="keyword">const</span> <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a> &time);
<a name="l00574"></a>00574
<a name="l00580"></a>00580 <span class="keywordtype">bool</span> operator<(<span class="keyword">const</span> <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a> &time);
<a name="l00581"></a>00581
<a name="l00587"></a>00587 <span class="keywordtype">bool</span> operator<=(<span class="keyword">const</span> <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a> &time);
<a name="l00588"></a>00588
<a name="l00594"></a>00594 <span class="keywordtype">bool</span> operator>(<span class="keyword">const</span> <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a> &time);
<a name="l00595"></a>00595
<a name="l00601"></a>00601 <span class="keywordtype">bool</span> operator>=(<span class="keyword">const</span> <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a> &time);
<a name="l00602"></a>00602 };
<a name="l00603"></a>00603
<a name="l00614"></a><a class="code" href="a00047.html">00614</a> <span class="keyword">class </span>__EXPORT <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a> : <span class="keyword">public</span> <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>, <span class="keyword">public</span> <a class="code" href="a00167.html" title="The Time class uses a integer representation of the current time.">Time</a>
<a name="l00615"></a>00615 {
<a name="l00616"></a>00616 <span class="keyword">protected</span>:
<a name="l00617"></a>00617 <span class="keywordtype">void</span> <a class="code" href="a00045.html#a5c54188199e18fba4daa61bcfb8a6246" title="A method to use to &quot;post&quot; any changed values when shadowing a mixed object...">update</a>(<span class="keywordtype">void</span>);
<a name="l00618"></a>00618
<a name="l00619"></a>00619 <span class="keyword">public</span>:
<a name="l00623"></a><a class="code" href="a00047.html#adc9ed84656b66797dff557abeb3eafe0">00623</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {year = Date::year, month = Date::month, day = Date::day,
<a name="l00624"></a>00624 dow = Date::dow,
<a name="l00625"></a>00625 hour = Time::hour, minute = Time::minute, second = Time::second} index_t;
<a name="l00626"></a>00626
<a name="l00630"></a><a class="code" href="a00047.html#a6efb612d733c61510eb7cdc89c2975de">00630</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">long</span> c_day;
<a name="l00631"></a>00631
<a name="l00635"></a><a class="code" href="a00047.html#a41501bdd47612fd7d1b791bb6931709a">00635</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">long</span> c_hour;
<a name="l00636"></a>00636
<a name="l00640"></a><a class="code" href="a00047.html#ad4c8cd892a49fe7e0ffe9c764fdc24b5">00640</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">long</span> c_week;
<a name="l00641"></a>00641
<a name="l00645"></a><a class="code" href="a00047.html#ab991585330ec5a8c9ee8bb0d815fd12d">00645</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> sz_string;
<a name="l00646"></a>00646
<a name="l00651"></a>00651 <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>(time_t time);
<a name="l00652"></a>00652
<a name="l00657"></a>00657 <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>(<span class="keyword">struct</span> tm *tm);
<a name="l00658"></a>00658
<a name="l00664"></a>00664 <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a00015.html" title="Typed smart pointer class.">pointer</a>, <span class="keywordtype">size_t</span> size = 0);
<a name="l00665"></a>00665
<a name="l00675"></a>00675 <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>(<span class="keywordtype">int</span> year, <span class="keywordtype">unsigned</span> month, <span class="keywordtype">unsigned</span> day,
<a name="l00676"></a>00676 <span class="keywordtype">int</span> hour = 0, <span class="keywordtype">int</span> minute = 0, <span class="keywordtype">int</span> second = 0);
<a name="l00677"></a>00677
<a name="l00682"></a>00682 <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>(<span class="keyword">const</span> <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>& <span class="keywordtype">object</span>);
<a name="l00683"></a>00683
<a name="l00687"></a>00687 <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>();
<a name="l00688"></a>00688
<a name="l00692"></a>00692 <span class="keyword">virtual</span> ~<a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>();
<a name="l00693"></a>00693
<a name="l00699"></a>00699 <span class="keywordtype">char</span> *<span class="keyword">get</span>(<span class="keywordtype">char</span> *buffer) <span class="keyword">const</span>;
<a name="l00700"></a>00700
<a name="l00705"></a>00705 time_t <span class="keyword">get</span>(void) <span class="keyword">const</span>;
<a name="l00706"></a>00706
<a name="l00711"></a>00711 <span class="keywordtype">bool</span> <a class="code" href="a00045.html#a75ae1d8dc0d72ed20a4cd99dbbed7791" title="Check if date is valid.">isValid</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00712"></a>00712
<a name="l00718"></a>00718 <span class="keywordtype">long</span> <a class="code" href="a00045.html#ac8677b959b14d539aa20fa4b390bcb1b" title="Subtract days from a julian date in an expression.">operator-</a>(<span class="keyword">const</span> <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a> &datetime);
<a name="l00719"></a>00719
<a name="l00725"></a>00725 <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>& <a class="code" href="a00045.html#a0b82e586ec863503a13e8aeb1bdb9e5e" title="Assign date from another date object.">operator=</a>(<span class="keyword">const</span> <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>& datetime);
<a name="l00726"></a>00726
<a name="l00733"></a>00733 <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>& <a class="code" href="a00045.html#adffa1a56283433e122177d695392d217" title="Increment date by offset.">operator+=</a>(<span class="keywordtype">long</span> seconds);
<a name="l00734"></a>00734
<a name="l00741"></a>00741 <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>& <a class="code" href="a00045.html#ab0c605d6cbaef4550c17aaada324aca6" title="Decrement date by offset.">operator-=</a>(<span class="keywordtype">long</span> seconds);
<a name="l00742"></a>00742
<a name="l00749"></a>00749 <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a> <a class="code" href="a00045.html#afee140ecd55fb4c3b73a615effc5dcb8" title="Add days to julian date in an expression.">operator+</a>(<span class="keywordtype">long</span> seconds);
<a name="l00750"></a>00750
<a name="l00757"></a>00757 <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a> <a class="code" href="a00045.html#ac8677b959b14d539aa20fa4b390bcb1b" title="Subtract days from a julian date in an expression.">operator-</a>(<span class="keywordtype">long</span> seconds);
<a name="l00758"></a>00758
<a name="l00763"></a>00763 <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>& <a class="code" href="a00045.html#a2ac640ce9918ef5d782a0474d4bc5e3f" title="Increment date by one day.">operator++</a>();
<a name="l00764"></a>00764
<a name="l00769"></a>00769 <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>& <a class="code" href="a00045.html#a996a61c00e486f23b2eb0ef034b7243b" title="Decrement date by one day.">operator--</a>();
<a name="l00770"></a>00770
<a name="l00776"></a>00776 <span class="keywordtype">bool</span> <a class="code" href="a00045.html#aa55ee92e22f662ee5698a34810ed403a" title="Compare julian dates if same date.">operator==</a>(<span class="keyword">const</span> <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>& datetime);
<a name="l00777"></a>00777
<a name="l00783"></a>00783 <span class="keywordtype">bool</span> <a class="code" href="a00045.html#a9095a07008001022f1b2a427c1a08ec7" title="Compare julian dates if not same date.">operator!=</a>(<span class="keyword">const</span> <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>& datetime);
<a name="l00784"></a>00784
<a name="l00790"></a>00790 <span class="keywordtype">bool</span> <a class="code" href="a00045.html#a03c5618bfdc0000b4b828beb8f570119" title="Compare julian date if earlier than another date.">operator<</a>(<span class="keyword">const</span> <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>& datetime);
<a name="l00791"></a>00791
<a name="l00798"></a>00798 <span class="keywordtype">bool</span> <a class="code" href="a00045.html#a2e5a45988143b3c36ea895597cca42bc" title="Compare julian date if earlier than or equal to another date.">operator<=</a>(<span class="keyword">const</span> <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>& datetime);
<a name="l00799"></a>00799
<a name="l00805"></a>00805 <span class="keywordtype">bool</span> <a class="code" href="a00045.html#a540ec8c852254c63d739e63830aac241" title="Compare julian date if later than another date.">operator></a>(<span class="keyword">const</span> <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>& datetime);
<a name="l00806"></a>00806
<a name="l00813"></a>00813 <span class="keywordtype">bool</span> <a class="code" href="a00045.html#aede32200dc6585572778ab7f93d63ca4" title="Compare julian date if later than or equal to another date.">operator>=</a>(<span class="keyword">const</span> <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>& datetime);
<a name="l00814"></a>00814
<a name="l00819"></a>00819 <span class="keywordtype">bool</span> <a class="code" href="a00045.html#ab2cb3c7262c7741dfab24d1dec96c21e" title="Check if julian date is not valid.">operator!</a>() <span class="keyword">const</span>;
<a name="l00820"></a>00820
<a name="l00826"></a>00826 <span class="keywordtype">int</span> <a class="code" href="a00045.html#a76434868d9c44d498b0f53327ed05137" title="Access numeric components.">operator[]</a>(<a class="code" href="a00045.html#af6a394e61b3f83f67adea4d859272d71" title="index elements.">index_t</a> component) <span class="keyword">const</span>;
<a name="l00827"></a>00827
<a name="l00832"></a>00832 <a class="code" href="a00045.html#ab91635dc9f65ca4f79113ac3cccf5031" title="Check if julian date is valid for is() expression.">operator bool</a>() <span class="keyword">const</span>;
<a name="l00833"></a>00833
<a name="l00838"></a><a class="code" href="a00047.html#a916d5a4581919e508e0260f36357de64">00838</a> <span class="keyword">inline</span> <a class="code" href="a00045.html#acafc59ec941e2708632b2adbe360173b" title="Casting operator to return date as number.">operator long</a>()<span class="keyword"> const</span>
<a name="l00839"></a>00839 <span class="keyword"> </span>{<span class="keywordflow">return</span> Date::get();};
<a name="l00840"></a>00840
<a name="l00844"></a>00844 <span class="keywordtype">void</span> <span class="keyword">set</span>(void);
<a name="l00845"></a>00845
<a name="l00850"></a>00850 operator double() <span class="keyword">const</span>;
<a name="l00851"></a>00851
<a name="l00857"></a>00857 <a class="code" href="a00157.html" title="A copy-on-write string class that operates by reference count.">String</a> format(<span class="keyword">const</span> <span class="keywordtype">char</span> *strftime) <span class="keyword">const</span>;
<a name="l00858"></a>00858
<a name="l00867"></a>00867 <span class="keyword">static</span> <span class="keyword">struct </span>tm *glt(time_t *time = NULL);
<a name="l00868"></a>00868
<a name="l00877"></a>00877 <span class="keyword">static</span> <span class="keyword">struct </span>tm *gmt(time_t *time = NULL);
<a name="l00878"></a>00878
<a name="l00883"></a>00883 <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="a00214.html#ab7bef2898e731474a9c3dfa805a6f56d" title="Convenience function to unlock shared object through it&#39;s protocol.">release</a>(<span class="keyword">struct</span> tm *<span class="keywordtype">object</span>);
<a name="l00884"></a>00884 };
<a name="l00885"></a>00885
<a name="l00893"></a><a class="code" href="a00048.html">00893</a> <span class="keyword">class </span>__EXPORT <a class="code" href="a00048.html" title="A DateTime string class.">DateTimeString</a> : <span class="keyword">public</span> <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a>
<a name="l00894"></a>00894 {
<a name="l00895"></a>00895 <span class="keyword">public</span>:
<a name="l00900"></a><a class="code" href="a00048.html#a51a0e9e6795332fb3658462650b51b85">00900</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {
<a name="l00901"></a>00901 DATE, TIME, BOTH} mode_t;
<a name="l00902"></a>00902
<a name="l00903"></a>00903 <span class="keyword">private</span>:
<a name="l00904"></a>00904 <span class="keywordtype">char</span> buffer[DATETIME_BUFFER_SIZE];
<a name="l00905"></a>00905 mode_t mode;
<a name="l00906"></a>00906
<a name="l00907"></a>00907 <span class="keyword">protected</span>:
<a name="l00908"></a>00908 <span class="keywordtype">void</span> <a class="code" href="a00047.html#af9a73627352358ee530ba650c5d5389a" title="A method to use to &quot;post&quot; any changed values when shadowing a mixed object...">update</a>(<span class="keywordtype">void</span>);
<a name="l00909"></a>00909
<a name="l00910"></a>00910 <span class="keyword">public</span>:
<a name="l00915"></a>00915 <a class="code" href="a00048.html" title="A DateTime string class.">DateTimeString</a>(time_t time);
<a name="l00916"></a>00916
<a name="l00921"></a>00921 <a class="code" href="a00048.html" title="A DateTime string class.">DateTimeString</a>(<span class="keyword">struct</span> tm *tm);
<a name="l00922"></a>00922
<a name="l00928"></a>00928 <a class="code" href="a00048.html" title="A DateTime string class.">DateTimeString</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a00015.html" title="Typed smart pointer class.">pointer</a>, <span class="keywordtype">size_t</span> size = 0);
<a name="l00929"></a>00929
<a name="l00939"></a>00939 <a class="code" href="a00048.html" title="A DateTime string class.">DateTimeString</a>(<span class="keywordtype">int</span> year, <span class="keywordtype">unsigned</span> month, <span class="keywordtype">unsigned</span> day,
<a name="l00940"></a>00940 <span class="keywordtype">int</span> hour = 0, <span class="keywordtype">int</span> minute = 0, <span class="keywordtype">int</span> second = 0);
<a name="l00941"></a>00941
<a name="l00946"></a>00946 <a class="code" href="a00048.html" title="A DateTime string class.">DateTimeString</a>(<span class="keyword">const</span> <a class="code" href="a00048.html" title="A DateTime string class.">DateTimeString</a>& <span class="keywordtype">object</span>);
<a name="l00947"></a>00947
<a name="l00951"></a>00951 <a class="code" href="a00048.html" title="A DateTime string class.">DateTimeString</a>(mode_t <span class="keywordtype">string</span> = DateTimeString::BOTH);
<a name="l00952"></a>00952
<a name="l00956"></a>00956 <span class="keyword">virtual</span> ~<a class="code" href="a00048.html" title="A DateTime string class.">DateTimeString</a>();
<a name="l00957"></a>00957
<a name="l00963"></a><a class="code" href="a00048.html#a5fa9ad7058eebd0ac51e7eeabbe020de">00963</a> <span class="keyword">inline</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *c_str(<span class="keywordtype">void</span>)
<a name="l00964"></a>00964 {<span class="keywordflow">return</span> buffer;};
<a name="l00965"></a>00965
<a name="l00971"></a><a class="code" href="a00048.html#adf3305a58319ccc10068b9fa184b973e">00971</a> <span class="keyword">inline</span> operator const char *(<span class="keywordtype">void</span>)
<a name="l00972"></a>00972 {<span class="keywordflow">return</span> buffer;};
<a name="l00973"></a>00973
<a name="l00977"></a>00977 <span class="keywordtype">void</span> <span class="keyword">set</span>(void);
<a name="l00978"></a>00978
<a name="l00983"></a>00983 <span class="keywordtype">void</span> <span class="keyword">set</span>(mode_t <a class="code" href="a00157.html" title="A copy-on-write string class that operates by reference count.">string</a>);
<a name="l00984"></a>00984 };
<a name="l00985"></a>00985
<a name="l00992"></a><a class="code" href="a00046.html">00992</a> <span class="keyword">class </span>__EXPORT <a class="code" href="a00046.html" title="A number class that manipulates a string buffer that is also a date.">DateNumber</a> : <span class="keyword">public</span> <a class="code" href="a00092.html" title="A number manipulation class.">Number</a>, <span class="keyword">public</span> <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a>
<a name="l00993"></a>00993 {
<a name="l00994"></a>00994 <span class="keyword">protected</span>:
<a name="l00995"></a>00995 <span class="keywordtype">void</span> <a class="code" href="a00045.html#a5c54188199e18fba4daa61bcfb8a6246" title="A method to use to &quot;post&quot; any changed values when shadowing a mixed object...">update</a>(<span class="keywordtype">void</span>);
<a name="l00996"></a>00996
<a name="l00997"></a>00997 <span class="keyword">public</span>:
<a name="l01002"></a>01002 <a class="code" href="a00046.html" title="A number class that manipulates a string buffer that is also a date.">DateNumber</a>(<span class="keywordtype">char</span> *<a class="code" href="a00015.html" title="Typed smart pointer class.">pointer</a>);
<a name="l01003"></a>01003
<a name="l01007"></a>01007 <span class="keyword">virtual</span> ~<a class="code" href="a00046.html" title="A number class that manipulates a string buffer that is also a date.">DateNumber</a>();
<a name="l01008"></a>01008
<a name="l01012"></a>01012 <span class="keywordtype">void</span> <span class="keyword">set</span>(void);
<a name="l01013"></a>01013 };
<a name="l01014"></a>01014
<a name="l01018"></a><a class="code" href="a00214.html#af96d31576873a4c2f3fade29c18cc48f">01018</a> <span class="keyword">typedef</span> <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">DateTime</a> <a class="code" href="a00047.html" title="The Datetime class uses a julian date representation of the current year, month,...">datetime_t</a>;
<a name="l01019"></a>01019
<a name="l01023"></a><a class="code" href="a00214.html#a5089273eb61d4a2e182f0ba2af60c25a">01023</a> <span class="keyword">typedef</span> <a class="code" href="a00048.html" title="A DateTime string class.">DateTimeString</a> <a class="code" href="a00048.html" title="A DateTime string class.">datetimestring_t</a>;
<a name="l01024"></a>01024
<a name="l01028"></a><a class="code" href="a00214.html#a9857557a92da1ba9249de9c8bf15d6a2">01028</a> <span class="keyword">typedef</span> <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">Date</a> <a class="code" href="a00045.html" title="The Date class uses a julian date representation of the current year, month, and...">date_t</a>;
<a name="l01029"></a>01029
<a name="l01033"></a><a class="code" href="a00214.html#a7844b6bef86b8b2c8603678e72ef9854">01033</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>tm <a class="code" href="a00214.html#a7844b6bef86b8b2c8603678e72ef9854" title="Convenience type for struct tm.">tm_t</a>;
<a name="l01034"></a>01034
<a name="l01035"></a>01035 END_NAMESPACE
<a name="l01036"></a>01036
<a name="l01037"></a>01037 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Tue Jul 6 08:22:01 2010 for UCommon by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
|