Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QRomanCalendrical Namespace Reference

Functions

constexpr auto yearMonthToYearDays (int year, int month)
 
constexpr auto dayInYearToYmd (int dayInYear)
 

Variables

constexpr qint64 LeapDayGregorian1Bce = 1721119
 
constexpr unsigned FourYears = 4 * 365 + 1
 
constexpr unsigned FiveMonths = 31 + 30 + 31 + 30 + 31
 

Function Documentation

◆ dayInYearToYmd()

constexpr auto QRomanCalendrical::dayInYearToYmd ( int  dayInYear)
constexpr

Definition at line 130 of file qcalendarmath_p.h.

References R.

Referenced by QJulianCalendar::julianDayToDate(), and QMilankovicCalendar::julianDayToDate().

+ Here is the caller graph for this function:

◆ yearMonthToYearDays()

constexpr auto QRomanCalendrical::yearMonthToYearDays ( int  year,
int  month 
)
constexpr

Definition at line 116 of file qcalendarmath_p.h.

References FiveMonths, and R.

Referenced by QJulianCalendar::dateToJulianDay(), QMilankovicCalendar::dateToJulianDay(), and QGregorianCalendar::julianFromParts().

+ Here is the caller graph for this function:

Variable Documentation

◆ FiveMonths

constexpr unsigned QRomanCalendrical::FiveMonths = 31 + 30 + 31 + 30 + 31
constexpr

Definition at line 114 of file qcalendarmath_p.h.

Referenced by QGregorianCalendar::partsFromJulian(), and yearMonthToYearDays().

◆ FourYears

constexpr unsigned QRomanCalendrical::FourYears = 4 * 365 + 1
constexpr

◆ LeapDayGregorian1Bce

constexpr qint64 QRomanCalendrical::LeapDayGregorian1Bce = 1721119
constexpr

Definition at line 111 of file qcalendarmath_p.h.