QCalendar::SystemId Class

class QCalendar::SystemId

This class was introduced in Qt 6.2.

Public Functions

bool isValid() const

Detailed Description

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.

See also QCalendar and QCalendar::System.

Member Function Documentation

[constexpr noexcept] bool SystemId::isValid() const

Returns true if this is a valid calendar implementation identifier, false otherwise.

See also QCalendar.

© 2024 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.