}
}
+
+ // Process the RDATE value.
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].RecurranceDateData.size() > 0){
+
+ for (int CommentListSeek = 0; CommentListSeek < TimezoneStandardCollection[TimezoneStandardSeek].RecurranceDateData.size();
+ CommentListSeek++){
+
+ DataLine += "RDATE";
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].RecurranceDateDataValue[CommentListSeek].size() > 0){
+
+ DataLine += ";VALUE=";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].RecurranceDateDataValue[CommentListSeek];
+
+ }
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].RecurranceDateDataTimeZoneParam[CommentListSeek].size() > 0){
+
+ DataLine += ";TZID=";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].RecurranceDateDataTimeZoneParam[CommentListSeek];
+
+ }
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].RecurranceDateDataTokens[CommentListSeek].size() > 0){
+
+ DataLine += ";";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].RecurranceDateDataTokens[CommentListSeek];
+
+ }
+
+ DataLine += ":";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].RecurranceDateData[CommentListSeek];
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+
+ }
*SaveData += "END:STANDARD\n";
}
}
+
+ // Process the RDATE value.
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].RecurranceDateData.size() > 0){
+
+ for (int CommentListSeek = 0; CommentListSeek < TimezoneDaylightCollection[TimezoneDaylightSeek].RecurranceDateData.size();
+ CommentListSeek++){
+
+ DataLine += "RDATE";
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].RecurranceDateDataValue[CommentListSeek].size() > 0){
+
+ DataLine += ";VALUE=";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].RecurranceDateDataValue[CommentListSeek];
+
+ }
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].RecurranceDateDataTimeZoneParam[CommentListSeek].size() > 0){
+
+ DataLine += ";TZID=";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].RecurranceDateDataTimeZoneParam[CommentListSeek];
+
+ }
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].RecurranceDateDataTokens[CommentListSeek].size() > 0){
+
+ DataLine += ";";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].RecurranceDateDataTokens[CommentListSeek];
+
+ }
+
+ DataLine += ":";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].RecurranceDateData[CommentListSeek];
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+ }
+
+ }
+
*SaveData += "END:DAYLIGHT\n";
}
"TZOFFSETTO;EXAMPLE=DATA:-0400\n"
"RRULE;YAK=YES:FREQ=DAILY;COUNT=10\n"
"COMMENT;ALTREP=\"null:nodata\";LANGUAGE=kw;YO=YOYOS:Example timezone comment.\n"
+ "RDATE;VALUE=DATE;TZID=Europe/Truro;BEEP=BOOP:20160205,20160207,20160216,20160\n"
+ " 305\n"
"END:STANDARD\n"
"BEGIN:DAYLIGHT\n"
"DTSTART:20160204T020000\n"
"TZOFFSETTO;EXAMPLE=DATA:-0400\n"
"RRULE;YAK=YES:FREQ=DAILY;COUNT=10\n"
"COMMENT;ALTREP=\"null:nodata\";LANGUAGE=kw;YO=YOYOS:Example timezone comment.\n"
+ "RDATE;VALUE=DATE;TZID=Europe/Truro;BEEP=BOOP:20160205,20160207,20160216,20160\n"
+ " 305\n"
"END:DAYLIGHT\n"
"END:VTIMEZONE\n"
"END:VCALENDAR";