DataLineProcessed.clear();
}
+
+ // Process the COMMENT value.
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].CommentList.size() > 0){
+
+ for (int CommentListSeek = 0; CommentListSeek < TimezoneStandardCollection[TimezoneStandardSeek].CommentList.size();
+ CommentListSeek++){
+
+ DataLine += "COMMENT";
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].CommentListAltRep[CommentListSeek].size() > 0){
+
+ DataLine += ";ALTREP=\"";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].CommentListAltRep[CommentListSeek];
+ DataLine += "\"";
+
+ }
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].CommentListLanguage[CommentListSeek].size() > 0){
+
+ DataLine += ";LANGUAGE=";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].CommentListLanguage[CommentListSeek];
+
+ }
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].CommentListTokens[CommentListSeek].size() > 0){
+
+ DataLine += ";";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].CommentListTokens[CommentListSeek];
+
+ }
+
+ DataLine += ":";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].CommentList[CommentListSeek];
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+
+ }
*SaveData += "END:STANDARD\n";
DataLineProcessed.clear();
}
+
+ // Process the COMMENT value.
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].CommentList.size() > 0){
+
+ for (int CommentListSeek = 0; CommentListSeek < TimezoneDaylightCollection[TimezoneDaylightSeek].CommentList.size();
+ CommentListSeek++){
+
+ DataLine += "COMMENT";
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].CommentListAltRep[CommentListSeek].size() > 0){
+
+ DataLine += ";ALTREP=\"";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].CommentListAltRep[CommentListSeek];
+ DataLine += "\"";
+
+ }
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].CommentListLanguage[CommentListSeek].size() > 0){
+
+ DataLine += ";LANGUAGE=";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].CommentListLanguage[CommentListSeek];
+
+ }
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].CommentListTokens[CommentListSeek].size() > 0){
+
+ DataLine += ";";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].CommentListTokens[CommentListSeek];
+
+ }
+
+ DataLine += ":";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].CommentList[CommentListSeek];
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+
+ }
*SaveData += "END:DAYLIGHT\n";
"TZOFFSETFROM;LETS=GO:-0500\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"
"END:STANDARD\n"
"BEGIN:DAYLIGHT\n"
"DTSTART:20160204T020000\n"
"TZOFFSETFROM;LETS=GO:-0500\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"
"END:DAYLIGHT\n"
"END:VTIMEZONE\n"
"END:VCALENDAR";