QKnxTime24 Class

The QKnxTime24 class holds time information. 更多...

头: #include <QKnxTime24>
qmake: QT += knx
继承: QKnxTimeBase

公共函数

bool isValid () const

静态公共成员

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

详细描述

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

另请参阅 QKnxTimeBase , QKnxTime ,和 Qt KNX Datapoint Type Classes .

成员函数文档编制

bool QKnxTime24:: isValid () const

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

另请参阅 QKnxTimeBase::isNull ().

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

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

另请参阅 QKnxTimeBase::isNull ().