File: y2k.html

package info (click to toggle)
qt1g 1%3A1.45-1.1
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 17,436 kB
  • ctags: 20,174
  • sloc: cpp: 89,153; yacc: 1,273; ansic: 692; makefile: 479; lex: 326; sh: 150; perl: 94
file content (61 lines) | stat: -rw-r--r-- 2,909 bytes parent folder | download
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta name="robots" content="noindex"><title>Year 2000 Compliance Statement for Qt</title>
</head><body bgcolor="#ffffff">
<p>
<a href=index.html><img width=122 height=65 src=qtlogo.jpg alt="Qt logo" align=left border=0></a>
<center><img src=dochead.gif width=472 height=27></center>
<br clear=all>
<p>
<h1 align="center">Year 2000 Compliance Statement</h1><br clear="all">
<p>
Troll Tech defines <i>Year 2000 Compliance</i> as a requirement that a
product or part of product does not contain errors related to
transition from December 31, 1999 to January 1, 2000, or to the
existence of February 29, 2000.
<p>
This document certifies that the API provided by Qt and the
implementation of Qt are both Year 2000 Compliant, and that the use of
underlying APIs by Qt does not have any known problems.
<p>
<h2 align="center">The API Provided by Qt</h2>
<p>
Several parts of Qt deal with dates and times:<ul>
<li><a href="qdate.html">QDate</a> - provides date management
<li><a href="qdatetime.html">QDateTime</a> - provides date/time management
<li><a href="qtime.html">QTime</a> - provides time management (within a date)
<li><a href="qtimer.html">QTimer</a> - provides delayed or regular execution of code.
</ul>
<p>
All of these classes' external APIs are Year 2000 Compliant: QDate and
QDateTime offer only four-digit years as output, QTime and QTimer do
not deal with years or leap days at all.
<p>
<h2 align="center">Implementation Issues in Qt</h2>
<p>
All date/time calculation and storage in Qt uses number of days,
seconds or milliseconds, and is thus Year 2000 Compliant.
<p>
This applies to the above four classes and also to <a href="qfiledialog.html">QFileDialog</a>
(which can sort files by time/date), <a href="qfileinfo.html">QFileInfo</a> (which operates on
file times/dates) and <a href="qapplication.html">QApplication</a> (which does various internal
housekeeping tasks).
<p>
The conversion to <tt>year/month/date</tt> format in QDate (and
QDateTime) has been verified to be correct for all of December 31,
1999, January 1, 2000, February 28 and 29, 2000, March 1, 2000,
January 1, 2001 and March 1, 2001.
<p>
Qt has been verified to be robust in case of time/date errors (such as
time warps) in the underlying operating system.
<p>
<h2 align="center">Use of System APIs</h2>
<p>
It is of course impossible for Troll Tech to ensure that both of the
window systems and all of the operating systems on which Qt runs are
Year 2000 Compliant.  However, Qt does not use any APIs that are known
to have any Year 2000-related bugs, or seem at risk to have any.

<p><address><hr><div align="center">
<table width="100%" cellspacing="0" border="0"><tr>
<td>Copyright  1999 Troll Tech<td><a href="trademarks.html">Trademarks</a>
<td align="right"><div align="right">Qt version 1.45</div>
</table></div></address></body></html>