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().

© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.