📄 y2k.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>Qt Toolkit - Year 2000 Compliance Statement</title><style type="text/css"><!--h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }a:link { color: #004faf; text-decoration: none }a:visited { color: #672967; text-decoration: none }body { background: white; color: black; }--></style></head><body bgcolor="#ffffff"><p><table width="100%"><tr><td><a href="index.html"><img width="100" height="100" src="qtlogo.png"alt="Home" border="0"><img width="100"height="100" src="face.png" alt="Home" border="0"></a><td valign="top"><div align="right"><img src="dochead.png" width="472" height="27"><br><a href="classes.html"><b>Classes</b></a>- <a href="annotated.html">Annotated</a>- <a href="hierarchy.html">Tree</a>- <a href="functions.html">Functions</a>- <a href="index.html">Home</a>- <a href="topicals.html"><b>Structure</b> <font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" align="center" size=32>Qte</font></a></div></table><h1 align="center"> Year 2000 Compliance Statement</h1><br clear="all">Trolltech defines <i>Year 2000 Compliance</i> as a requirement that aproduct or part of product does not contain errors related totransition from December 31, 1999 to January 1, 2000, or to theexistence of February 29, 2000.<p>This document certifies that the API provided by Qt and theimplementation of Qt are both Year 2000 Compliant, and that the use ofunderlying 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 andQDateTime offer only four-digit years as output, QTime and QTimer donot 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 onfile times/dates) and <a href="qapplication.html">QApplication</a> (which does various internalhousekeeping tasks).<p>The conversion to <tt>year/month/date</tt> format in QDate (andQDateTime) 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 astime warps) in the underlying operating system.<p><h2 align="center">Use of System APIs</h2><p>It is of course impossible for Trolltech to ensure that both of thewindow systems and all of the operating systems on which Qt runs areYear 2000 Compliant. However, Qt does not use any APIs that are knownto 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -