QKnxTime24 Class

The QKnxTime24 class holds time information. More...

Header: #include <QKnxTime24>
qmake: QT += knx
Inherits: QKnxTimeBase

Public Functions

bool isValid() const

Static Public Members

bool isValid(quint8 h, quint8 m, quint8 s)

Detailed Description

Hour values can be up to 24. Minute and second values can be up to 59.

See also QKnxTimeBase, QKnxTime, and Qt KNX Datapoint Type Classes.

Member Function Documentation

bool QKnxTime24::isValid() const

Returns true if the time is valid; otherwise returns false. For example, the time 24:12:30 is valid, but 24:60:30 is invalid.

See also QKnxTimeBase::isNull().

[static] bool QKnxTime24::isValid(quint8 h, quint8 m, quint8 s)

Returns true if the values specified for hours h, minutes m, and seconds s are valid; otherwise returns false.

See also QKnxTimeBase::isNull().