Qt 6.x
The Qt SDK
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(), and QDate::getDate().

+ Here is the caller graph for this function:

Member Data Documentation

◆ day

int QCalendar::YearMonthDay::day = Unspecified

◆ month

int QCalendar::YearMonthDay::month = Unspecified

◆ year

int QCalendar::YearMonthDay::year = Unspecified

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