DataLineProcessed.clear();
}
+
+ // Process the TZOFFSETFROM value.
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].TimeZoneOffsetFromData.size() > 0){
+
+ if (TimezoneStandardCollection[TimezoneStandardSeek].TimeZoneOffsetFromTokens.size() > 0){
+
+ DataLine += "TZOFFSETFROM;";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].TimeZoneOffsetFromTokens;
+
+ } else {
+
+ DataLine += "TZOFFSETFROM";
+
+ }
+
+ DataLine += ":";
+ DataLine += TimezoneStandardCollection[TimezoneStandardSeek].TimeZoneOffsetFromData;
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
*SaveData += "END:STANDARD\n";
DataLineProcessed.clear();
}
+
+ // Process the TZOFFSETFROM value.
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].TimeZoneOffsetFromData.size() > 0){
+
+ if (TimezoneDaylightCollection[TimezoneDaylightSeek].TimeZoneOffsetFromTokens.size() > 0){
+
+ DataLine += "TZOFFSETFROM;";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].TimeZoneOffsetFromTokens;
+
+ } else {
+
+ DataLine += "TZOFFSETFROM";
+
+ }
+
+ DataLine += ":";
+ DataLine += TimezoneDaylightCollection[TimezoneDaylightSeek].TimeZoneOffsetFromData;
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
*SaveData += "END:DAYLIGHT\n";
"TZURL;URL=YES:http://www.example.com/\n"
"BEGIN:STANDARD\n"
"DTSTART:20160204T020000\n"
+ "TZOFFSETFROM:-0500\n"
"END:STANDARD\n"
"BEGIN:STANDARD\n"
"DTSTART;MEEP=MOO:20160205T020000\n"
+ "TZOFFSETFROM;LETS=GO:-0500\n"
"END:STANDARD\n"
"BEGIN:STANDARD\n"
"DTSTART;MEEP=MOO:20160206T020000\n"
+ "TZOFFSETFROM;LETS=GO:-0500\n"
"END:STANDARD\n"
"BEGIN:DAYLIGHT\n"
"DTSTART:20160204T020000\n"
+ "TZOFFSETFROM:-0500\n"
"END:DAYLIGHT\n"
"BEGIN:DAYLIGHT\n"
"DTSTART;MEEP=MOO:20160205T020000\n"
+ "TZOFFSETFROM;LETS=GO:-0500\n"
"END:DAYLIGHT\n"
"BEGIN:DAYLIGHT\n"
"DTSTART;MEEP=MOO:20160206T020000\n"
+ "TZOFFSETFROM;LETS=GO:-0500\n"
"END:DAYLIGHT\n"
"END:VTIMEZONE\n"
"END:VCALENDAR";