Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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()

auto QRomanCalendrical::dayInYearToYmd ( int dayInYear)
constexpr

Definition at line 130 of file qcalendarmath_p.h.

References FiveMonths.

◆ yearMonthToYearDays()

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

Definition at line 116 of file qcalendarmath_p.h.

References FiveMonths.

Variable Documentation

◆ FiveMonths

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

Definition at line 114 of file qcalendarmath_p.h.

Referenced by dayInYearToYmd(), and yearMonthToYearDays().

◆ FourYears

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

Definition at line 113 of file qcalendarmath_p.h.

◆ LeapDayGregorian1Bce

qint64 QRomanCalendrical::LeapDayGregorian1Bce = 1721119
inlineconstexpr

Definition at line 111 of file qcalendarmath_p.h.