1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
---|
2 | <!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/doc/y2k.doc:36 -->
|
---|
3 | <html>
|
---|
4 | <head>
|
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
---|
6 | <title>Year 2000 Compliance Statement</title>
|
---|
7 | <style type="text/css"><!--
|
---|
8 | fn { margin-left: 1cm; text-indent: -1cm; }
|
---|
9 | a:link { color: #004faf; text-decoration: none }
|
---|
10 | a:visited { color: #672967; text-decoration: none }
|
---|
11 | body { background: #ffffff; color: black; }
|
---|
12 | --></style>
|
---|
13 | </head>
|
---|
14 | <body>
|
---|
15 |
|
---|
16 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
17 | <tr bgcolor="#E5E5E5">
|
---|
18 | <td valign=center>
|
---|
19 | <a href="index.html">
|
---|
20 | <font color="#004faf">Home</font></a>
|
---|
21 | | <a href="classes.html">
|
---|
22 | <font color="#004faf">All Classes</font></a>
|
---|
23 | | <a href="mainclasses.html">
|
---|
24 | <font color="#004faf">Main Classes</font></a>
|
---|
25 | | <a href="annotated.html">
|
---|
26 | <font color="#004faf">Annotated</font></a>
|
---|
27 | | <a href="groups.html">
|
---|
28 | <font color="#004faf">Grouped Classes</font></a>
|
---|
29 | | <a href="functions.html">
|
---|
30 | <font color="#004faf">Functions</font></a>
|
---|
31 | </td>
|
---|
32 | <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Year 2000 Compliance Statement</h1>
|
---|
33 |
|
---|
34 |
|
---|
35 | <p> Trolltech defines <i>Year 2000 Compliance</i> as a requirement that a
|
---|
36 | product or part of product does not contain errors related to
|
---|
37 | transition from December 31, 1999 to January 1, 2000, or to the
|
---|
38 | existence of February 29, 2000.
|
---|
39 | <p> This document certifies that the API provided by Qt and the
|
---|
40 | implementation of Qt are both Year 2000 Compliant, and that the use of
|
---|
41 | underlying APIs by Qt does not have any known problems.
|
---|
42 | <p> <h2> The API Provided by Qt
|
---|
43 | </h2>
|
---|
44 | <a name="1"></a><p> Several parts of Qt deal with dates and times:
|
---|
45 | <ul>
|
---|
46 | <li> <a href="qdate.html">QDate</a> - provides date management
|
---|
47 | <li> <a href="qdatetime.html">QDateTime</a> - provides date/time management
|
---|
48 | <li> <a href="qtime.html">QTime</a> - provides time management (within a date)
|
---|
49 | <li> <a href="qtimer.html">QTimer</a> - provides delayed or regular execution of code.
|
---|
50 | </ul>
|
---|
51 | <p> All of these classes' external APIs are Year 2000 Compliant: <a href="qdate.html">QDate</a> and
|
---|
52 | <a href="qdatetime.html">QDateTime</a> offer only four-digit years as output, <a href="qtime.html">QTime</a> and <a href="qtimer.html">QTimer</a> do
|
---|
53 | not deal with years or leap days at all.
|
---|
54 | <p> <h2> Implementation Issues in Qt
|
---|
55 | </h2>
|
---|
56 | <a name="2"></a><p> All date/time calculation and storage in Qt uses number of days,
|
---|
57 | seconds or milliseconds, and is thus Year 2000 Compliant.
|
---|
58 | <p> This applies to the above four classes and also to <a href="qfiledialog.html">QFileDialog</a>
|
---|
59 | (which can sort files by time/date), <a href="qfileinfo.html">QFileInfo</a> (which operates on
|
---|
60 | file times/dates) and <a href="qapplication.html">QApplication</a> (which does various internal
|
---|
61 | housekeeping tasks).
|
---|
62 | <p> The conversion to <tt>year/month/date</tt> format in QDate (and
|
---|
63 | QDateTime) has been verified to be correct for all of December 31,
|
---|
64 | 1999, January 1, 2000, February 28 and 29, 2000, March 1, 2000,
|
---|
65 | January 1, 2001 and March 1, 2001.
|
---|
66 | <p> Qt has been verified to be robust in case of time/date errors (such as
|
---|
67 | time warps) in the underlying operating system.
|
---|
68 | <p> <h2> Use of System APIs
|
---|
69 | </h2>
|
---|
70 | <a name="3"></a><p> It is of course impossible for Trolltech to ensure that both of the
|
---|
71 | window systems and all of the operating systems on which Qt runs are
|
---|
72 | Year 2000 Compliant. However, Qt does not use any APIs that are known
|
---|
73 | to have any Year 2000-related bugs, or seem at risk to have any.
|
---|
74 |
|
---|
75 | <!-- eof -->
|
---|
76 | <p><address><hr><div align=center>
|
---|
77 | <table width=100% cellspacing=0 border=0><tr>
|
---|
78 | <td>Copyright © 2007
|
---|
79 | <a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
|
---|
80 | <td align=right><div align=right>Qt 3.3.8</div>
|
---|
81 | </table></div></address></body>
|
---|
82 | </html>
|
---|