This repository has been archived by the owner on Apr 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lunarccdatetime.h
60 lines (54 loc) · 2.04 KB
/
lunarccdatetime.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// ***************************************************************************
// * LICENSE : GPLv3 (GNU GENERAL PUBLIC LICENSE Version 3)
// * Copyright (C) 2018 Sven Augustus
// * email: [email protected]
// ***************************************************************************
#ifndef LUNARCCDATETIME_H
#define LUNARCCDATETIME_H
#include <QString>
class LunarCCDateTime
{
public:
LunarCCDateTime() {}
LunarCCDateTime( const QString& t_dayFull,
const QString& t_day,
const QString& t_noliYear ,
const QString& t_noliDay,
const QString& t_constellation,
const QString& t_holiday,
const QString& t_choliday)
: dayFull(t_dayFull),
day(t_day),
noliYear(t_noliYear) ,
noliDay (t_noliDay),
constellation (t_constellation),
holiday (t_holiday),
choliday (t_choliday)
{ }
~LunarCCDateTime(){}
QString getDayFull() const { return dayFull; }
QString getDay()const { return day; }
QString getNoliYear()const { return noliYear; }
QString getNoliDay()const { return noliDay; }
QString getConstellation()const { return constellation; }
QString getHoliday()const { return holiday; }
QString getCholiday()const { return choliday; }
void setDayFull (QString t_dayFull) { dayFull=t_dayFull; }
void setDay(QString t_day) { day=t_day; }
void setNoliYear(QString t_noliYear) { noliYear=t_noliYear; }
void setNoliDay(QString t_noliDay) { noliDay=t_noliDay; }
void setConstellation(QString t_constellation) { constellation=t_constellation; }
void setHoliday(QString t_holiday) { holiday=t_holiday; }
void setCholiday(QString t_choliday) { choliday=t_choliday; }
private:
//int row;
//int column;
QString dayFull;
QString day;
QString noliYear;
QString noliDay;
QString constellation;
QString holiday;
QString choliday;
};
#endif // LUNARCCDATETIME_H