}
}
+
+ // Process the TZNAME value.
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].TimeZoneNameData.size() > 0){
+
+ for (int TimezoneNameSeek = 0; TimezoneNameSeek < TimezoneStandardCollection[TimezoneStandardSeek].TimeZoneNameData.size();
+ TimezoneNameSeek++){
+
+ DataLine += "TZNAME";
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].TimeZoneNameLanguage[TimezoneNameSeek].size() > 0){
+
+ DataLine += ";LANGUAGE=";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].TimeZoneNameLanguage[TimezoneNameSeek];
+
+ }
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].TimeZoneNameTokens[TimezoneNameSeek].size() > 0){
+
+ DataLine += ";";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].TimeZoneNameTokens[TimezoneNameSeek];
+
+ }
+
+ DataLine += ":";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].TimeZoneNameData[TimezoneNameSeek];
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+
+ }
*SaveData += "END:STANDARD\n";
}
}
+
+ // Process the TZNAME value.
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].TimeZoneNameData.size() > 0){
+
+ for (int TimezoneNameSeek = 0; TimezoneNameSeek < TimezoneDaylightCollection[TimezoneDaylightSeek].TimeZoneNameData.size();
+ TimezoneNameSeek++){
+
+ DataLine += "TZNAME";
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].TimeZoneNameLanguage[TimezoneNameSeek].size() > 0){
+
+ DataLine += ";LANGUAGE=";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].TimeZoneNameLanguage[TimezoneNameSeek];
+
+ }
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].TimeZoneNameTokens[TimezoneNameSeek].size() > 0){
+
+ DataLine += ";";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].TimeZoneNameTokens[TimezoneNameSeek];
+
+ }
+
+ DataLine += ":";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].TimeZoneNameData[TimezoneNameSeek];
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+
+ }
*SaveData += "END:DAYLIGHT\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"
+ "TZNAME;LANGUAGE=en;NOPE=YES:Example Timezone Name 1\n"
"END:STANDARD\n"
"BEGIN:DAYLIGHT\n"
"DTSTART:20160204T020000\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"
+ "TZNAME;LANGUAGE=en;NOPE=YES:Example Timezone Name 1\n"
"END:DAYLIGHT\n"
"END:VTIMEZONE\n"
"END:VCALENDAR";