an iCal processing library

Files at this revision

API Documentation at this revision

Comitter:
WiredHome
Date:
Thu Jul 10 11:01:49 2014 +0000
Parent:
6:4d1fc1cb38ad
Child:
8:87549cc99d5e
Commit message:
Starting the framework to parse the DST fields

Changed in this revision

iCal.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/iCal.cpp	Sat Jul 05 22:27:56 2014 +0000
+++ b/iCal.cpp	Thu Jul 10 11:01:49 2014 +0000
@@ -579,12 +579,16 @@
                     break;
                 case inTimeZone:
                     // Can also pick up daylight savings time
-                    if (strcmp(pStart, "END:VTIMEZONE") == 0)
+                    if (strcmp(pStart, "END:VTIMEZONE") == 0) {
                         seeking = idle;
-                    else if ((strncmp(pStart, "TZID:", 5) == 0) 
+                    } else if ((strncmp(pStart, "TZID:", 5) == 0) 
                     || (strncmp(pStart, "TZID=", 5) == 0) ) {
                         tzoTZIDSec = ParseTZID(pStart + 5);
                         tzAdjusted = true;
+                    } else if (strncmp(pStart, "BEGIN:STANDARD", 14) == 0) {
+                        
+                    } else if (strncmp(pStart, "BEGIN:DAYLIGHT", 14) == 0) {
+                        
                     }
                     break;
                 case inEvent: