Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
20240eac53bbac0d8b8148678972bca22db30ac6
[xestiacalendar/.git] / source / objects / calendartimezone / CalendarTimezone.h
1 // CalendarTimezone.h - CalendarTimezone class header
2 //
3 // (c) 2016-2017 Xestia Software Development.
4 //
5 // This file is part of Xestia Calendar.
6 //
7 // Xestia Calendar is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by the
9 // Free Software Foundation, version 3 of the license.
10 //
11 // Xestia Calendar is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License along
17 // with Xestia Calendar. If not, see <http://www.gnu.org/licenses/>
19 #ifndef __OBJECTS_CALENDARTIMEZONE_CALENDARTIMEZONE_H__
20 #define __OBJECTS_CALENDARTIMEZONE_CALENDARTIMEZONE_H__
22 #include "../calendarobject/CalendarObject.h"
24 using namespace std;
26 struct TimezoneDataStruct{
27         string DateTimeStartData;
28         string DateTimeStartTokens;
29         string TimeZoneOffsetToData;
30         string TimeZoneOffsetToTokens;
31         string TimeZoneOffsetFromData;
32         string TimeZoneOffsetFromTokens;
33         
34         string RecurranceRuleData;
35         string RecurranceRuleDataTokens;
36         
37         vector<string> CommentList;
38         vector<string> CommentListAltRep;
39         vector<string> CommentListLanguage;
40         vector<string> CommentListTokens;
41         
42         vector<string> RecurranceDateData;
43         vector<string> RecurranceDateDataValue;
44         vector<string> RecurranceDateDataTimeZoneParam;
45         vector<string> RecurranceDateDataTokens;
46         
47         vector<string> TimeZoneNameData;
48         vector<string> TimeZoneNameLanguage;
49         vector<string> TimeZoneNameTokens;
50         
51         vector<string> XTokensData;
52         vector<string> XTokensDataTokens;
53 };
55 class CalendarTimezoneObject: public CalendarObject{
56   
57         CalendarObjectValidResult ValidObject();
58         
59         public:
60         vector<vector<string>> TimezoneStandardName;
61         vector<vector<string>> TimezoneStandardData;
62         vector<vector<string>> TimezoneDaylightName;    
63         vector<vector<string>> TimezoneDaylightData;
64         
65         vector<TimezoneDataStruct> TimezoneStandardCollection;
66         vector<TimezoneDataStruct> TimezoneDaylightCollection;
67         
68         private:
69         
70         void ProcessData();
71         void ProcessStandardDaylight();
72         void SaveObjectData(string *SaveData);
73         
74 };
76 #endif
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy