DataLineProcessed.clear();
}
+
+ // Process the TZOFFSETTO value.
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].TimeZoneOffsetToData.size() > 0){
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].TimeZoneOffsetToTokens.size() > 0){
+
+ DataLine += "TZOFFSETTO;";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].TimeZoneOffsetToTokens;
+
+ } else {
+
+ DataLine += "TZOFFSETTO";
+
+ }
+
+ DataLine += ":";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].TimeZoneOffsetToData;
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
*SaveData += "END:STANDARD\n";
DataLineProcessed.clear();
}
+
+ // Process the TZOFFSETTO value.
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].TimeZoneOffsetToData.size() > 0){
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].TimeZoneOffsetToTokens.size() > 0){
+
+ DataLine += "TZOFFSETTO;";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].TimeZoneOffsetToTokens;
+
+ } else {
+
+ DataLine += "TZOFFSETTO";
+
+ }
+
+ DataLine += ":";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].TimeZoneOffsetToData;
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
*SaveData += "END:DAYLIGHT\n";
"BEGIN:STANDARD\n"
"DTSTART:20160204T020000\n"
"TZOFFSETFROM:-0500\n"
+ "TZOFFSETTO:-0400\n"
"END:STANDARD\n"
"BEGIN:STANDARD\n"
"DTSTART;MEEP=MOO:20160205T020000\n"
"TZOFFSETFROM;LETS=GO:-0500\n"
+ "TZOFFSETTO;EXAMPLE=DATA:-0400\n"
"END:STANDARD\n"
"BEGIN:STANDARD\n"
"DTSTART;MEEP=MOO:20160206T020000\n"
"TZOFFSETFROM;LETS=GO:-0500\n"
+ "TZOFFSETTO;EXAMPLE=DATA:-0400\n"
"END:STANDARD\n"
"BEGIN:DAYLIGHT\n"
"DTSTART:20160204T020000\n"
"TZOFFSETFROM:-0500\n"
+ "TZOFFSETTO:-0400\n"
"END:DAYLIGHT\n"
"BEGIN:DAYLIGHT\n"
"DTSTART;MEEP=MOO:20160205T020000\n"
"TZOFFSETFROM;LETS=GO:-0500\n"
+ "TZOFFSETTO;EXAMPLE=DATA:-0400\n"
"END:DAYLIGHT\n"
"BEGIN:DAYLIGHT\n"
"DTSTART;MEEP=MOO:20160206T020000\n"
"TZOFFSETFROM;LETS=GO:-0500\n"
+ "TZOFFSETTO;EXAMPLE=DATA:-0400\n"
"END:DAYLIGHT\n"
"END:VTIMEZONE\n"
"END:VCALENDAR";