Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QCalendar::YearMonthDay Struct Reference

#include <qcalendar.h>

+ Collaboration diagram for QCalendar::YearMonthDay:

Public Member Functions

 YearMonthDay ()=default
 
 YearMonthDay (int y, int m=1, int d=1)
 
bool isValid () const
 

Public Attributes

int year = Unspecified
 
int month = Unspecified
 
int day = Unspecified
 

Detailed Description

Definition at line 58 of file qcalendar.h.

Constructor & Destructor Documentation

◆ YearMonthDay() [1/2]

QCalendar::YearMonthDay::YearMonthDay ( )
default

◆ YearMonthDay() [2/2]

QCalendar::YearMonthDay::YearMonthDay ( int y,
int m = 1,
int d = 1 )
inline

Definition at line 61 of file qcalendar.h.

Member Function Documentation

◆ isValid()

bool QCalendar::YearMonthDay::isValid ( ) const
inline

Definition at line 63 of file qcalendar.h.

References Unspecified.

Referenced by QCalendar::dateFromParts(), QDate::getDate(), QCalendarBackend::matchCenturyToWeekday(), and QCalendar::matchCenturyToWeekday().

+ Here is the caller graph for this function:

Member Data Documentation

◆ day

◆ month

◆ year


The documentation for this struct was generated from the following file: