}
}
+
+ // Process data from X-*
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].XTokensData.size() > 0){
+
+ for (int TimezoneXTokenSeek = 0; TimezoneXTokenSeek < TimezoneStandardCollection[TimezoneStandardSeek].XTokensData.size();
+ TimezoneXTokenSeek++){
+
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].XTokensDataTokens[TimezoneXTokenSeek];
+ DataLine += ":";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].XTokensData[TimezoneXTokenSeek];
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+ }
+
*SaveData += "END:STANDARD\n";
}
}
}
+
+ // Process data from X-*
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].XTokensData.size() > 0){
+
+ for (int TimezoneXTokenSeek = 0; TimezoneXTokenSeek < TimezoneDaylightCollection[TimezoneDaylightSeek].XTokensData.size();
+ TimezoneXTokenSeek++){
+
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].XTokensDataTokens[TimezoneXTokenSeek];
+ DataLine += ":";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].XTokensData[TimezoneXTokenSeek];
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+
+ }
*SaveData += "END:DAYLIGHT\n";
"RDATE;VALUE=DATE;TZID=Europe/Truro;BEEP=BOOP:20160205,20160207,20160216,20160\n"
" 305\n"
"TZNAME;LANGUAGE=en;NOPE=YES:Example Timezone Name 1\n"
+ "X-MOO:Meep\n"
+ "X-MOO:Moop\n"
+ "X-MOO;MEEP=YIKES:Zaap\n"
+ "X-ITEM:Fork\n"
+ "X-ITEM:Spoon\n"
+ "X-ITEM;DIRTY=NO:Knife\n"
+ "X-NOPE:1\n"
+ "X-NOPE:2\n"
+ "X-NOPE;LONG=YES:3\n"
"END:STANDARD\n"
"BEGIN:DAYLIGHT\n"
"DTSTART:20160204T020000\n"
"RDATE;VALUE=DATE;TZID=Europe/Truro;BEEP=BOOP:20160205,20160207,20160216,20160\n"
" 305\n"
"TZNAME;LANGUAGE=en;NOPE=YES:Example Timezone Name 1\n"
+ "X-MOO:Meep\n"
+ "X-MOO:Moop\n"
+ "X-MOO;MEEP=YIKES:Zaap\n"
+ "X-ITEM:Fork\n"
+ "X-ITEM:Spoon\n"
+ "X-ITEM;DIRTY=NO:Knife\n"
+ "X-NOPE:1\n"
+ "X-NOPE:2\n"
+ "X-NOPE;LONG=YES:3\n"
"END:DAYLIGHT\n"
"END:VTIMEZONE\n"
"END:VCALENDAR";