⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wince__time_8h-source.html

📁 俄罗斯牛人KK的作品,著名的ORDBMS,这里上传最新的3.39版本源代码.希望了解对象关系数据库的同好,请不要错过.
💻 HTML
字号:
<!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>wince_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> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center><hr><h1>wince_time.h</h1><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef __WINCE_TIME_H__</span>00002 <span class="preprocessor"></span><span class="preprocessor">#define __WINCE_TIME_H__</span>00003 <span class="preprocessor"></span>00004 <span class="preprocessor">#ifndef _TIME_T_DEFINED</span>00005 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> time_t;        <span class="comment">/* time value */</span>00006 <span class="preprocessor">#define _TIME_T_DEFINED     </span><span class="comment">/* avoid multiple def's of time_t */</span>00007 <span class="preprocessor">#endif</span>00008 <span class="preprocessor"></span>00009 <span class="preprocessor">#include &lt;tchar.h&gt;</span>00010 <span class="preprocessor">#ifndef _TM_DEFINED</span>00011 <span class="preprocessor"></span><span class="keyword">struct </span>tm {00012         <span class="keywordtype">int</span> tm_sec;     <span class="comment">/* seconds after the minute - [0,59] */</span>00013         <span class="keywordtype">int</span> tm_min;     <span class="comment">/* minutes after the hour - [0,59] */</span>00014         <span class="keywordtype">int</span> tm_hour;    <span class="comment">/* hours since midnight - [0,23] */</span>00015         <span class="keywordtype">int</span> tm_mday;    <span class="comment">/* day of the month - [1,31] */</span>00016         <span class="keywordtype">int</span> tm_mon;     <span class="comment">/* months since January - [0,11] */</span>00017         <span class="keywordtype">int</span> tm_year;    <span class="comment">/* years since 1900 */</span>00018         <span class="keywordtype">int</span> tm_wday;    <span class="comment">/* days since Sunday - [0,6] */</span>00019         <span class="keywordtype">int</span> tm_yday;    <span class="comment">/* days since January 1 - [0,365] */</span>00020         <span class="keywordtype">int</span> tm_isdst;   <span class="comment">/* daylight savings time flag */</span>00021         };00022 <span class="preprocessor">#define _TM_DEFINED</span>00023 <span class="preprocessor"></span><span class="preprocessor">#endif</span>00024 <span class="preprocessor"></span>00025 <span class="preprocessor">#define _CLOCALECP      CP_ACP  </span><span class="comment">/* "C" locale Code page */</span>00026 00027 <span class="preprocessor">#define _DAY_SEC           (24L * 60L * 60L)    </span><span class="comment">/* secs in a day */</span>00028 00029 <span class="preprocessor">#define _YEAR_SEC          (365L * _DAY_SEC)    </span><span class="comment">/* secs in a year */</span>00030 00031 <span class="preprocessor">#define _FOUR_YEAR_SEC     (1461L * _DAY_SEC)   </span><span class="comment">/* secs in a 4 year interval */</span>00032 00033 <span class="preprocessor">#define _DEC_SEC           315532800L           </span><span class="comment">/* secs in 1970-1979 */</span>00034 00035 <span class="preprocessor">#define _BASE_YEAR         70L                  </span><span class="comment">/* 1970 is the base year */</span>00036 00037 <span class="preprocessor">#define _BASE_DOW          4                    </span><span class="comment">/* 01-01-70 was a Thursday */</span>00038 00039 <span class="preprocessor">#define _LEAP_YEAR_ADJUST  17L                  </span><span class="comment">/* Leap years 1900 - 1970 */</span>00040 00041 <span class="preprocessor">#define _MAX_YEAR          138L                 </span><span class="comment">/* 2038 is the max year */</span>00042 00043 <span class="comment">/*</span>00044 <span class="comment"> * Number of milliseconds in one day</span>00045 <span class="comment"> */</span>00046 <span class="preprocessor">#define DAY_MILLISEC    (24L * 60L * 60L * 1000L)</span>00047 <span class="preprocessor"></span>00048 <span class="comment">/*</span>00049 <span class="comment"> * The macro below is valid for years between 1901 and 2099, which easily</span>00050 <span class="comment"> * includes all years representable by the current implementation of time_t.</span>00051 <span class="comment"> */</span>00052 <span class="preprocessor">#define IS_LEAP_YEAR(year)  ( (year &amp; 3) == 0 )</span>00053 <span class="preprocessor"></span>00054 <span class="comment">/*</span>00055 <span class="comment"> * Structure used to represent DST transition date/times.</span>00056 <span class="comment"> */</span>00057 <span class="keyword">typedef</span> <span class="keyword">struct </span>{00058         <span class="keywordtype">int</span>  yr;        <span class="comment">/* year of interest */</span>00059         <span class="keywordtype">int</span>  yd;        <span class="comment">/* day of year */</span>00060         <span class="keywordtype">long</span> ms;        <span class="comment">/* milli-seconds in the day */</span>00061 } transitiondate;00062 00063 00064 <span class="comment">/* non-zero if daylight savings time is used */</span>00065 _CRTIMP <span class="keyword">extern</span> <span class="keywordtype">int</span> _daylight;00066 00067 <span class="comment">/* offset for Daylight Saving Time */</span>00068 _CRTIMP <span class="keyword">extern</span> <span class="keywordtype">long</span> _dstbias;00069 00070 <span class="comment">/* difference in seconds between GMT and local time */</span>00071 _CRTIMP <span class="keyword">extern</span> <span class="keywordtype">long</span> _timezone;00072 00073 <span class="comment">/* standard/daylight savings time zone names */</span>00074 _CRTIMP <span class="keyword">extern</span> <span class="keywordtype">char</span> * _tzname[2];00075 00076 00077 00078 time_t __cdecl time(time_t *);00079 time_t __cdecl mktime(<span class="keyword">struct</span> tm *);00080 <span class="keyword">struct </span>tm * __cdecl localtime(const time_t *);00081 _CRTIMP <span class="keyword">struct </span>tm * __cdecl gmtime(const time_t *);00082 <span class="preprocessor">#ifndef wcsftime</span>00083 <span class="preprocessor"></span>size_t __cdecl wcsftime(<span class="keywordtype">wchar_t</span> *, size_t, <span class="keyword">const</span> <span class="keywordtype">wchar_t</span> *,00084         <span class="keyword">const</span> <span class="keyword">struct</span> tm *);00085 <span class="preprocessor">#endif</span>00086 <span class="preprocessor"></span>00087 <span class="preprocessor">#endif</span></pre></div><hr><address style="align: right;"><small>Generated on Mon Oct 23 13:23:58 2006 for FastDB by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -