This class was introduced in Qt 6.2.
bool | isValid () const |
This is an opaque type used to identify custom calendar implementations. The only supported source for values of this type is the backend's
calendarId()
method. A value of this type whose
isValid
() is false does not identify a successfully-registered backend. The only valid consumer of values of this type is a
QCalendar
constructor, which will only produce a valid
QCalendar
instance if the ID passed to it is valid.
另请参阅 QCalendar and QCalendar::System .
[constexpr noexcept]
bool
SystemId::
isValid
() const
返回
true
if this is a valid calendar implementation identifier,
false
否则。
另请参阅 QCalendar .