Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |

# Year 2000 Compliance Statement

Trolltech defines Year 2000 Compliance 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.

This document certifies that the API provided by TQt and the implementation of TQt are both Year 2000 Compliant, and that the use of underlying APIs by TQt does not have any known problems.

## The API Provided by TQt

Several parts of TQt deal with dates and times:

- TQDate - provides date management
- TQDateTime - provides date/time management
- TQTime - provides time management (within a date)
- TQTimer - provides delayed or regular execution of code.

All of these classes' external APIs are Year 2000 Compliant: TQDate and TQDateTime offer only four-digit years as output, TQTime and TQTimer do not deal with years or leap days at all.

## Implementation Issues in TQt

All date/time calculation and storage in TQt uses number of days, seconds or milliseconds, and is thus Year 2000 Compliant.

This applies to the above four classes and also to TQFileDialog (which can sort files by time/date), TQFileInfo (which operates on file times/dates) and TQApplication (which does various internal housekeeping tasks).

The conversion to `year/month/date` format in TQDate (and TQDateTime) 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.

TQt has been verified to be robust in case of time/date errors (such as time warps) in the underlying operating system.

## Use of System APIs

It is of course impossible for Trolltech to ensure that both of the window systems and all of the operating systems on which TQt runs are Year 2000 Compliant. However, TQt does not use any APIs that are known to have any Year 2000-related bugs, or seem at risk to have any.