Debian Codegraph @

src/parsers/qcalendarsystem_p.h

raw symbols SCIP
1 /*
2 This file is part of the kholidays library.
3
4 SPDX-FileCopyrightText: 2014 John Layt <[email protected]>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8
9 #ifndef QCALENDARSYSTEM_H
10 #define QCALENDARSYSTEM_Hcxx . . $ `src/parsers/qcalendarsystem_p.h:10:9`!
11
12 #include <QDate>
13 #include <QSharedPointer>
14
15 class QCalendarSystemPrivatecxx . . $ QCalendarSystemPrivate#;
16
17 class QCalendarSystemcxx . . $ QCalendarSystem#
18 {
19 public:
20 enum CalendarSystemcxx . . $ QCalendarSystem#CalendarSystem# {
21 DefaultCalendarcxx . . $ QCalendarSystem#DefaultCalendar. = 0,
22 GregorianCalendarcxx . . $ QCalendarSystem#GregorianCalendar. = 1,
23 ChineseCalendarcxx . . $ QCalendarSystem#ChineseCalendar. = 2,
24 CopticCalendarcxx . . $ QCalendarSystem#CopticCalendar. = 3,
25 EthiopicCalendarcxx . . $ QCalendarSystem#EthiopicCalendar. = 4,
26 EthiopicAmeteAlemCalendarcxx . . $ QCalendarSystem#EthiopicAmeteAlemCalendar. = 5,
27 HebrewCalendarcxx . . $ QCalendarSystem#HebrewCalendar. = 6,
28 IndianNationalCalendarcxx . . $ QCalendarSystem#IndianNationalCalendar. = 7,
29 IslamicCalendarcxx . . $ QCalendarSystem#IslamicCalendar. = 8,
30 IslamicCivilCalendarcxx . . $ QCalendarSystem#IslamicCivilCalendar. = 9,
31 ISO8601Calendarcxx . . $ QCalendarSystem#ISO8601Calendar. = 10,
32 JapaneseCalendarcxx . . $ QCalendarSystem#JapaneseCalendar. = 11,
33 JulianCalendarcxx . . $ QCalendarSystem#JulianCalendar. = 12,
34 PersianCalendarcxx . . $ QCalendarSystem#PersianCalendar. = 13,
35 ROCCalendarcxx . . $ QCalendarSystem#ROCCalendar. = 14,
36 ThaiCalendarcxx . . $ QCalendarSystem#ThaiCalendar. = 15,
37 LastCalendarcxx . . $ QCalendarSystem#LastCalendar. = ThaiCalendarcxx . . $ QCalendarSystem#ThaiCalendar.,
38 };
39
40 explicit QCalendarSystemcxx . . $ QCalendarSystem#QCalendarSystem(9f2096cd2f7522e4).(QCalendarSystemcxx . . $ QCalendarSystem#::CalendarSystemcxx . . $ QCalendarSystem#CalendarSystem# calendar = QCalendarSystemcxx . . $ QCalendarSystem#::DefaultCalendarcxx . . $ QCalendarSystem#DefaultCalendar.);
41 ~cxx . . $ QCalendarSystem#`~QCalendarSystem`(ced63f7c635d850d).QCalendarSystemcxx . . $ QCalendarSystem#();
42
43 QCalendarSystemcxx . . $ QCalendarSystem# &operatorcxx . . $ QCalendarSystem#`operator=`(396eac58efb04c3d).=(const QCalendarSystemcxx . . $ QCalendarSystem# &other);
44
45 QCalendarSystemcxx . . $ QCalendarSystem#::CalendarSystemcxx . . $ QCalendarSystem#CalendarSystem# calendarSystemcxx . . $ QCalendarSystem#calendarSystem(ee261f68d85cddca).() const;
46
47 QDatecxx . . $ QDate# epochcxx . . $ QCalendarSystem#epoch(53ae6d66f7709873).() const;
48 QDatecxx . . $ QDate# earliestValidDatecxx . . $ QCalendarSystem#earliestValidDate(53ae6d66f7709873).() const;
49 QDatecxx . . $ QDate# latestValidDatecxx . . $ QCalendarSystem#latestValidDate(53ae6d66f7709873).() const;
50 int maximumMonthsInYearcxx . . $ QCalendarSystem#maximumMonthsInYear(455f465bc33b4cdf).() const;
51 int maximumDaysInYearcxx . . $ QCalendarSystem#maximumDaysInYear(455f465bc33b4cdf).() const;
52 int maximumDaysInMonthcxx . . $ QCalendarSystem#maximumDaysInMonth(455f465bc33b4cdf).() const;
53
54 bool isValidcxx . . $ QCalendarSystem#isValid(a76bf0bdc97e5bf5).(const QDatecxx . . $ QDate# &date) const;
55 bool isValidcxx . . $ QCalendarSystem#isValid(d0c42d52fd3cb41a).(int year, int month, int day) const;
56 bool isValidcxx . . $ QCalendarSystem#isValid(88e30549ca55c866).(int year, int dayOfYear) const;
57
58 QDatecxx . . $ QDate# datecxx . . $ QCalendarSystem#date(37fe6d825868f0b8).(int year, int month, int day) const;
59 QDatecxx . . $ QDate# datecxx . . $ QCalendarSystem#date(598fa3069970272d).(int year, int dayOfYear) const;
60
61 void getDatecxx . . $ QCalendarSystem#getDate(2e5e87bb2582e28c).(const QDatecxx . . $ QDate# &date, int *year, int *month, int *day) const;
62
63 int yearcxx . . $ QCalendarSystem#year(4b262c972be30f9b).(const QDatecxx . . $ QDate# &date) const;
64 int monthcxx . . $ QCalendarSystem#month(4b262c972be30f9b).(const QDatecxx . . $ QDate# &date) const;
65 int daycxx . . $ QCalendarSystem#day(4b262c972be30f9b).(const QDatecxx . . $ QDate# &date) const;
66
67 int quartercxx . . $ QCalendarSystem#quarter(4b262c972be30f9b).(const QDatecxx . . $ QDate# &date) const;
68 int quartercxx . . $ QCalendarSystem#quarter(ccfa90015542b148).(int year, int month, int day) const;
69
70 int dayOfYearcxx . . $ QCalendarSystem#dayOfYear(4b262c972be30f9b).(const QDatecxx . . $ QDate# &date) const;
71 int dayOfYearcxx . . $ QCalendarSystem#dayOfYear(ccfa90015542b148).(int year, int month, int day) const;
72
73 int dayOfWeekcxx . . $ QCalendarSystem#dayOfWeek(4b262c972be30f9b).(const QDatecxx . . $ QDate# &date) const;
74 int dayOfWeekcxx . . $ QCalendarSystem#dayOfWeek(ccfa90015542b148).(int year, int month, int day) const;
75
76 int weekNumbercxx . . $ QCalendarSystem#weekNumber(be9c81da9bb80e8).(const QDatecxx . . $ QDate# &date, int *yearNum = nullptr) const;
77 int weekNumbercxx . . $ QCalendarSystem#weekNumber(a93f3f5fed561f9).(int year, int month, int day, int *yearNum = nullptr) const;
78
79 int monthsInYearcxx . . $ QCalendarSystem#monthsInYear(4b262c972be30f9b).(const QDatecxx . . $ QDate# &date) const;
80 int monthsInYearcxx . . $ QCalendarSystem#monthsInYear(7ccb52b1bfe01045).(int year) const;
81
82 int weeksInYearcxx . . $ QCalendarSystem#weeksInYear(4b262c972be30f9b).(const QDatecxx . . $ QDate# &date) const;
83 int weeksInYearcxx . . $ QCalendarSystem#weeksInYear(7ccb52b1bfe01045).(int year) const;
84
85 int daysInYearcxx . . $ QCalendarSystem#daysInYear(4b262c972be30f9b).(const QDatecxx . . $ QDate# &date) const;
86 int daysInYearcxx . . $ QCalendarSystem#daysInYear(7ccb52b1bfe01045).(int year) const;
87
88 int daysInMonthcxx . . $ QCalendarSystem#daysInMonth(4b262c972be30f9b).(const QDatecxx . . $ QDate# &date) const;
89 int daysInMonthcxx . . $ QCalendarSystem#daysInMonth(adc74905ab378dc7).(int year, int month) const;
90
91 int daysInWeekcxx . . $ QCalendarSystem#daysInWeek(455f465bc33b4cdf).() const;
92
93 bool isLeapYearcxx . . $ QCalendarSystem#isLeapYear(a76bf0bdc97e5bf5).(const QDatecxx . . $ QDate# &date) const;
94 bool isLeapYearcxx . . $ QCalendarSystem#isLeapYear(4a668f6de69bf818).(int year) const;
95
96 QDatecxx . . $ QDate# addYearscxx . . $ QCalendarSystem#addYears(15cfb5b54438148).(const QDatecxx . . $ QDate# &date, int years) const;
97 QDatecxx . . $ QDate# addMonthscxx . . $ QCalendarSystem#addMonths(15cfb5b54438148).(const QDatecxx . . $ QDate# &date, int months) const;
98 QDatecxx . . $ QDate# addDayscxx . . $ QCalendarSystem#addDays(15cfb5b54438148).(const QDatecxx . . $ QDate# &date, int days) const;
99
100 int yearsDifferencecxx . . $ QCalendarSystem#yearsDifference(3baf50fabd4e6eca).(const QDatecxx . . $ QDate# &fromDate, const QDatecxx . . $ QDate# &toDate) const;
101 int monthsDifferencecxx . . $ QCalendarSystem#monthsDifference(3baf50fabd4e6eca).(const QDatecxx . . $ QDate# &fromDate, const QDatecxx . . $ QDate# &toDate) const;
102 qint64cxx . . $ qint64# daysDifferencecxx . . $ QCalendarSystem#daysDifference(4a59d1b299bdc6f1).(const QDatecxx . . $ QDate# &fromDate, const QDatecxx . . $ QDate# &toDate) const;
103
104 void dateDifferencecxx . . $ QCalendarSystem#dateDifference(599ca311130a3a8e).(const QDatecxx . . $ QDate# &fromDate, const QDatecxx . . $ QDate# &toDate, int *years, int *months, int *days, int *direction) const;
105
106 QDatecxx . . $ QDate# firstDayOfYearcxx . . $ QCalendarSystem#firstDayOfYear(aab00053b22ec65).(const QDatecxx . . $ QDate# &date) const;
107 QDatecxx . . $ QDate# firstDayOfYearcxx . . $ QCalendarSystem#firstDayOfYear(9d23ad83a17a9112).(int year) const;
108 QDatecxx . . $ QDate# lastDayOfYearcxx . . $ QCalendarSystem#lastDayOfYear(aab00053b22ec65).(const QDatecxx . . $ QDate# &date) const;
109 QDatecxx . . $ QDate# lastDayOfYearcxx . . $ QCalendarSystem#lastDayOfYear(9d23ad83a17a9112).(int year) const;
110
111 QDatecxx . . $ QDate# firstDayOfMonthcxx . . $ QCalendarSystem#firstDayOfMonth(aab00053b22ec65).(const QDatecxx . . $ QDate# &date) const;
112 QDatecxx . . $ QDate# firstDayOfMonthcxx . . $ QCalendarSystem#firstDayOfMonth(598fa3069970272d).(int year, int month) const;
113 QDatecxx . . $ QDate# lastDayOfMonthcxx . . $ QCalendarSystem#lastDayOfMonth(aab00053b22ec65).(const QDatecxx . . $ QDate# &date) const;
114 QDatecxx . . $ QDate# lastDayOfMonthcxx . . $ QCalendarSystem#lastDayOfMonth(598fa3069970272d).(int year, int month) const;
115
116 private:
117 QSharedDataPointercxx . . $ QSharedDataPointer#<QCalendarSystemPrivatecxx . . $ QCalendarSystemPrivate#> dcxx . . $ QCalendarSystem#d.;
118 };
119
120 #endif // QCALENDARSYSTEM_H