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