1<?php
2
3namespace Sabre\VObject\ITip;
4
5class EvolutionTest extends BrokerTester {
6
7    /**
8     * Evolution does things as usual a little bit differently.
9     *
10     * We're adding a seprate test just for it.
11     */
12    function testNewEvolutionEvent() {
13
14        $ics = <<<ICS
15BEGIN:VCALENDAR
16VERSION:2.0
17CALSCALE:GREGORIAN
18PRODID:-//Ximian//NONSGML Evolution Calendar//EN
19BEGIN:VTIMEZONE
20TZID:/freeassociation.sourceforge.net/Tzfile/America/Toronto
21X-LIC-LOCATION:America/Toronto
22BEGIN:STANDARD
23TZNAME:EST
24DTSTART:19691026T020000
25TZOFFSETFROM:-0400
26TZOFFSETTO:-0500
27END:STANDARD
28BEGIN:DAYLIGHT
29TZNAME:EDT
30DTSTART:19700426T020000
31TZOFFSETFROM:-0500
32TZOFFSETTO:-0400
33END:DAYLIGHT
34BEGIN:STANDARD
35TZNAME:EST
36DTSTART:19701025T020000
37TZOFFSETFROM:-0400
38TZOFFSETTO:-0500
39END:STANDARD
40BEGIN:DAYLIGHT
41TZNAME:EDT
42DTSTART:19710425T020000
43TZOFFSETFROM:-0500
44TZOFFSETTO:-0400
45END:DAYLIGHT
46BEGIN:STANDARD
47TZNAME:EST
48DTSTART:19711031T020000
49TZOFFSETFROM:-0400
50TZOFFSETTO:-0500
51END:STANDARD
52BEGIN:DAYLIGHT
53TZNAME:EDT
54DTSTART:19720430T020000
55TZOFFSETFROM:-0500
56TZOFFSETTO:-0400
57END:DAYLIGHT
58BEGIN:STANDARD
59TZNAME:EST
60DTSTART:19721029T020000
61TZOFFSETFROM:-0400
62TZOFFSETTO:-0500
63END:STANDARD
64BEGIN:DAYLIGHT
65TZNAME:EDT
66DTSTART:19730429T020000
67TZOFFSETFROM:-0500
68TZOFFSETTO:-0400
69END:DAYLIGHT
70BEGIN:STANDARD
71TZNAME:EST
72DTSTART:19731028T020000
73TZOFFSETFROM:-0400
74TZOFFSETTO:-0500
75END:STANDARD
76BEGIN:DAYLIGHT
77TZNAME:EDT
78DTSTART:19740428T020000
79TZOFFSETFROM:-0500
80TZOFFSETTO:-0400
81END:DAYLIGHT
82BEGIN:STANDARD
83TZNAME:EST
84DTSTART:19741027T020000
85TZOFFSETFROM:-0400
86TZOFFSETTO:-0500
87END:STANDARD
88BEGIN:DAYLIGHT
89TZNAME:EDT
90DTSTART:19750427T020000
91TZOFFSETFROM:-0500
92TZOFFSETTO:-0400
93END:DAYLIGHT
94BEGIN:STANDARD
95TZNAME:EST
96DTSTART:19751026T020000
97TZOFFSETFROM:-0400
98TZOFFSETTO:-0500
99END:STANDARD
100BEGIN:DAYLIGHT
101TZNAME:EDT
102DTSTART:19760425T020000
103TZOFFSETFROM:-0500
104TZOFFSETTO:-0400
105END:DAYLIGHT
106BEGIN:STANDARD
107TZNAME:EST
108DTSTART:19761031T020000
109TZOFFSETFROM:-0400
110TZOFFSETTO:-0500
111END:STANDARD
112BEGIN:DAYLIGHT
113TZNAME:EDT
114DTSTART:19770424T020000
115TZOFFSETFROM:-0500
116TZOFFSETTO:-0400
117END:DAYLIGHT
118BEGIN:STANDARD
119TZNAME:EST
120DTSTART:19771030T020000
121TZOFFSETFROM:-0400
122TZOFFSETTO:-0500
123END:STANDARD
124BEGIN:DAYLIGHT
125TZNAME:EDT
126DTSTART:19780430T020000
127TZOFFSETFROM:-0500
128TZOFFSETTO:-0400
129END:DAYLIGHT
130BEGIN:STANDARD
131TZNAME:EST
132DTSTART:19781029T020000
133TZOFFSETFROM:-0400
134TZOFFSETTO:-0500
135END:STANDARD
136BEGIN:DAYLIGHT
137TZNAME:EDT
138DTSTART:19790429T020000
139TZOFFSETFROM:-0500
140TZOFFSETTO:-0400
141END:DAYLIGHT
142BEGIN:STANDARD
143TZNAME:EST
144DTSTART:19791028T020000
145TZOFFSETFROM:-0400
146TZOFFSETTO:-0500
147END:STANDARD
148BEGIN:DAYLIGHT
149TZNAME:EDT
150DTSTART:19800427T020000
151TZOFFSETFROM:-0500
152TZOFFSETTO:-0400
153END:DAYLIGHT
154BEGIN:STANDARD
155TZNAME:EST
156DTSTART:19801026T020000
157TZOFFSETFROM:-0400
158TZOFFSETTO:-0500
159END:STANDARD
160BEGIN:DAYLIGHT
161TZNAME:EDT
162DTSTART:19810426T020000
163TZOFFSETFROM:-0500
164TZOFFSETTO:-0400
165END:DAYLIGHT
166BEGIN:STANDARD
167TZNAME:EST
168DTSTART:19811025T020000
169TZOFFSETFROM:-0400
170TZOFFSETTO:-0500
171END:STANDARD
172BEGIN:DAYLIGHT
173TZNAME:EDT
174DTSTART:19820425T020000
175TZOFFSETFROM:-0500
176TZOFFSETTO:-0400
177END:DAYLIGHT
178BEGIN:STANDARD
179TZNAME:EST
180DTSTART:19821031T020000
181TZOFFSETFROM:-0400
182TZOFFSETTO:-0500
183END:STANDARD
184BEGIN:DAYLIGHT
185TZNAME:EDT
186DTSTART:19830424T020000
187TZOFFSETFROM:-0500
188TZOFFSETTO:-0400
189END:DAYLIGHT
190BEGIN:STANDARD
191TZNAME:EST
192DTSTART:19831030T020000
193TZOFFSETFROM:-0400
194TZOFFSETTO:-0500
195END:STANDARD
196BEGIN:DAYLIGHT
197TZNAME:EDT
198DTSTART:19840429T020000
199TZOFFSETFROM:-0500
200TZOFFSETTO:-0400
201END:DAYLIGHT
202BEGIN:STANDARD
203TZNAME:EST
204DTSTART:19841028T020000
205TZOFFSETFROM:-0400
206TZOFFSETTO:-0500
207END:STANDARD
208BEGIN:DAYLIGHT
209TZNAME:EDT
210DTSTART:19850428T020000
211TZOFFSETFROM:-0500
212TZOFFSETTO:-0400
213END:DAYLIGHT
214BEGIN:STANDARD
215TZNAME:EST
216DTSTART:19851027T020000
217TZOFFSETFROM:-0400
218TZOFFSETTO:-0500
219END:STANDARD
220BEGIN:DAYLIGHT
221TZNAME:EDT
222DTSTART:19860427T020000
223TZOFFSETFROM:-0500
224TZOFFSETTO:-0400
225END:DAYLIGHT
226BEGIN:STANDARD
227TZNAME:EST
228DTSTART:19861026T020000
229TZOFFSETFROM:-0400
230TZOFFSETTO:-0500
231END:STANDARD
232BEGIN:DAYLIGHT
233TZNAME:EDT
234DTSTART:19870405T020000
235TZOFFSETFROM:-0500
236TZOFFSETTO:-0400
237END:DAYLIGHT
238BEGIN:STANDARD
239TZNAME:EST
240DTSTART:19871025T020000
241TZOFFSETFROM:-0400
242TZOFFSETTO:-0500
243END:STANDARD
244BEGIN:DAYLIGHT
245TZNAME:EDT
246DTSTART:19880403T020000
247TZOFFSETFROM:-0500
248TZOFFSETTO:-0400
249END:DAYLIGHT
250BEGIN:STANDARD
251TZNAME:EST
252DTSTART:19881030T020000
253TZOFFSETFROM:-0400
254TZOFFSETTO:-0500
255END:STANDARD
256BEGIN:DAYLIGHT
257TZNAME:EDT
258DTSTART:19890402T020000
259TZOFFSETFROM:-0500
260TZOFFSETTO:-0400
261END:DAYLIGHT
262BEGIN:STANDARD
263TZNAME:EST
264DTSTART:19891029T020000
265TZOFFSETFROM:-0400
266TZOFFSETTO:-0500
267END:STANDARD
268BEGIN:DAYLIGHT
269TZNAME:EDT
270DTSTART:19900401T020000
271TZOFFSETFROM:-0500
272TZOFFSETTO:-0400
273END:DAYLIGHT
274BEGIN:STANDARD
275TZNAME:EST
276DTSTART:19901028T020000
277TZOFFSETFROM:-0400
278TZOFFSETTO:-0500
279END:STANDARD
280BEGIN:DAYLIGHT
281TZNAME:EDT
282DTSTART:19910407T020000
283TZOFFSETFROM:-0500
284TZOFFSETTO:-0400
285END:DAYLIGHT
286BEGIN:STANDARD
287TZNAME:EST
288DTSTART:19911027T020000
289TZOFFSETFROM:-0400
290TZOFFSETTO:-0500
291END:STANDARD
292BEGIN:DAYLIGHT
293TZNAME:EDT
294DTSTART:19920405T020000
295TZOFFSETFROM:-0500
296TZOFFSETTO:-0400
297END:DAYLIGHT
298BEGIN:STANDARD
299TZNAME:EST
300DTSTART:19921025T020000
301TZOFFSETFROM:-0400
302TZOFFSETTO:-0500
303END:STANDARD
304BEGIN:DAYLIGHT
305TZNAME:EDT
306DTSTART:19930404T020000
307TZOFFSETFROM:-0500
308TZOFFSETTO:-0400
309END:DAYLIGHT
310BEGIN:STANDARD
311TZNAME:EST
312DTSTART:19931031T020000
313TZOFFSETFROM:-0400
314TZOFFSETTO:-0500
315END:STANDARD
316BEGIN:DAYLIGHT
317TZNAME:EDT
318DTSTART:19940403T020000
319TZOFFSETFROM:-0500
320TZOFFSETTO:-0400
321END:DAYLIGHT
322BEGIN:STANDARD
323TZNAME:EST
324DTSTART:19941030T020000
325TZOFFSETFROM:-0400
326TZOFFSETTO:-0500
327END:STANDARD
328BEGIN:DAYLIGHT
329TZNAME:EDT
330DTSTART:19950402T020000
331TZOFFSETFROM:-0500
332TZOFFSETTO:-0400
333END:DAYLIGHT
334BEGIN:STANDARD
335TZNAME:EST
336DTSTART:19951029T020000
337TZOFFSETFROM:-0400
338TZOFFSETTO:-0500
339END:STANDARD
340BEGIN:DAYLIGHT
341TZNAME:EDT
342DTSTART:19960407T020000
343TZOFFSETFROM:-0500
344TZOFFSETTO:-0400
345END:DAYLIGHT
346BEGIN:STANDARD
347TZNAME:EST
348DTSTART:19961027T020000
349TZOFFSETFROM:-0400
350TZOFFSETTO:-0500
351END:STANDARD
352BEGIN:DAYLIGHT
353TZNAME:EDT
354DTSTART:19970406T020000
355TZOFFSETFROM:-0500
356TZOFFSETTO:-0400
357END:DAYLIGHT
358BEGIN:STANDARD
359TZNAME:EST
360DTSTART:19971026T020000
361TZOFFSETFROM:-0400
362TZOFFSETTO:-0500
363END:STANDARD
364BEGIN:DAYLIGHT
365TZNAME:EDT
366DTSTART:19980405T020000
367TZOFFSETFROM:-0500
368TZOFFSETTO:-0400
369END:DAYLIGHT
370BEGIN:STANDARD
371TZNAME:EST
372DTSTART:19981025T020000
373TZOFFSETFROM:-0400
374TZOFFSETTO:-0500
375END:STANDARD
376BEGIN:DAYLIGHT
377TZNAME:EDT
378DTSTART:19990404T020000
379TZOFFSETFROM:-0500
380TZOFFSETTO:-0400
381END:DAYLIGHT
382BEGIN:STANDARD
383TZNAME:EST
384DTSTART:19991031T020000
385TZOFFSETFROM:-0400
386TZOFFSETTO:-0500
387END:STANDARD
388BEGIN:DAYLIGHT
389TZNAME:EDT
390DTSTART:20000402T020000
391TZOFFSETFROM:-0500
392TZOFFSETTO:-0400
393END:DAYLIGHT
394BEGIN:STANDARD
395TZNAME:EST
396DTSTART:20001029T020000
397TZOFFSETFROM:-0400
398TZOFFSETTO:-0500
399END:STANDARD
400BEGIN:DAYLIGHT
401TZNAME:EDT
402DTSTART:20010401T020000
403TZOFFSETFROM:-0500
404TZOFFSETTO:-0400
405END:DAYLIGHT
406BEGIN:STANDARD
407TZNAME:EST
408DTSTART:20011028T020000
409TZOFFSETFROM:-0400
410TZOFFSETTO:-0500
411END:STANDARD
412BEGIN:DAYLIGHT
413TZNAME:EDT
414DTSTART:20020407T020000
415TZOFFSETFROM:-0500
416TZOFFSETTO:-0400
417END:DAYLIGHT
418BEGIN:STANDARD
419TZNAME:EST
420DTSTART:20021027T020000
421TZOFFSETFROM:-0400
422TZOFFSETTO:-0500
423END:STANDARD
424BEGIN:DAYLIGHT
425TZNAME:EDT
426DTSTART:20030406T020000
427TZOFFSETFROM:-0500
428TZOFFSETTO:-0400
429END:DAYLIGHT
430BEGIN:STANDARD
431TZNAME:EST
432DTSTART:20031026T020000
433TZOFFSETFROM:-0400
434TZOFFSETTO:-0500
435END:STANDARD
436BEGIN:DAYLIGHT
437TZNAME:EDT
438DTSTART:20040404T020000
439TZOFFSETFROM:-0500
440TZOFFSETTO:-0400
441END:DAYLIGHT
442BEGIN:STANDARD
443TZNAME:EST
444DTSTART:20041031T020000
445TZOFFSETFROM:-0400
446TZOFFSETTO:-0500
447END:STANDARD
448BEGIN:DAYLIGHT
449TZNAME:EDT
450DTSTART:20050403T020000
451TZOFFSETFROM:-0500
452TZOFFSETTO:-0400
453END:DAYLIGHT
454BEGIN:STANDARD
455TZNAME:EST
456DTSTART:20051030T020000
457TZOFFSETFROM:-0400
458TZOFFSETTO:-0500
459END:STANDARD
460BEGIN:DAYLIGHT
461TZNAME:EDT
462DTSTART:20060402T020000
463TZOFFSETFROM:-0500
464TZOFFSETTO:-0400
465END:DAYLIGHT
466BEGIN:STANDARD
467TZNAME:EST
468DTSTART:20061029T020000
469TZOFFSETFROM:-0400
470TZOFFSETTO:-0500
471END:STANDARD
472BEGIN:DAYLIGHT
473TZNAME:EDT
474DTSTART:20070311T020000
475TZOFFSETFROM:-0500
476TZOFFSETTO:-0400
477END:DAYLIGHT
478BEGIN:STANDARD
479TZNAME:EST
480DTSTART:20071104T020000
481TZOFFSETFROM:-0400
482TZOFFSETTO:-0500
483END:STANDARD
484BEGIN:DAYLIGHT
485TZNAME:EDT
486DTSTART:20080309T020000
487TZOFFSETFROM:-0500
488TZOFFSETTO:-0400
489END:DAYLIGHT
490BEGIN:STANDARD
491TZNAME:EST
492DTSTART:20081102T020000
493TZOFFSETFROM:-0400
494TZOFFSETTO:-0500
495END:STANDARD
496BEGIN:DAYLIGHT
497TZNAME:EDT
498DTSTART:20090308T020000
499TZOFFSETFROM:-0500
500TZOFFSETTO:-0400
501END:DAYLIGHT
502BEGIN:STANDARD
503TZNAME:EST
504DTSTART:20091101T020000
505TZOFFSETFROM:-0400
506TZOFFSETTO:-0500
507END:STANDARD
508BEGIN:DAYLIGHT
509TZNAME:EDT
510DTSTART:20100314T020000
511TZOFFSETFROM:-0500
512TZOFFSETTO:-0400
513END:DAYLIGHT
514BEGIN:STANDARD
515TZNAME:EST
516DTSTART:20101107T020000
517TZOFFSETFROM:-0400
518TZOFFSETTO:-0500
519END:STANDARD
520BEGIN:DAYLIGHT
521TZNAME:EDT
522DTSTART:20110313T020000
523TZOFFSETFROM:-0500
524TZOFFSETTO:-0400
525END:DAYLIGHT
526BEGIN:STANDARD
527TZNAME:EST
528DTSTART:20111106T020000
529TZOFFSETFROM:-0400
530TZOFFSETTO:-0500
531END:STANDARD
532BEGIN:DAYLIGHT
533TZNAME:EDT
534DTSTART:20120311T020000
535TZOFFSETFROM:-0500
536TZOFFSETTO:-0400
537END:DAYLIGHT
538BEGIN:STANDARD
539TZNAME:EST
540DTSTART:20121104T020000
541TZOFFSETFROM:-0400
542TZOFFSETTO:-0500
543END:STANDARD
544BEGIN:DAYLIGHT
545TZNAME:EDT
546DTSTART:20130310T020000
547TZOFFSETFROM:-0500
548TZOFFSETTO:-0400
549END:DAYLIGHT
550BEGIN:STANDARD
551TZNAME:EST
552DTSTART:20131103T020000
553TZOFFSETFROM:-0400
554TZOFFSETTO:-0500
555END:STANDARD
556BEGIN:DAYLIGHT
557TZNAME:EDT
558DTSTART:20140309T020000
559TZOFFSETFROM:-0500
560TZOFFSETTO:-0400
561END:DAYLIGHT
562BEGIN:STANDARD
563TZNAME:EST
564DTSTART:20141102T020000
565TZOFFSETFROM:-0400
566TZOFFSETTO:-0500
567END:STANDARD
568BEGIN:DAYLIGHT
569TZNAME:EDT
570DTSTART:20150308T020000
571TZOFFSETFROM:-0500
572TZOFFSETTO:-0400
573END:DAYLIGHT
574BEGIN:STANDARD
575TZNAME:EST
576DTSTART:20151101T020000
577TZOFFSETFROM:-0400
578TZOFFSETTO:-0500
579END:STANDARD
580BEGIN:DAYLIGHT
581TZNAME:EDT
582DTSTART:20160313T020000
583TZOFFSETFROM:-0500
584TZOFFSETTO:-0400
585END:DAYLIGHT
586BEGIN:STANDARD
587TZNAME:EST
588DTSTART:20161106T020000
589TZOFFSETFROM:-0400
590TZOFFSETTO:-0500
591END:STANDARD
592BEGIN:DAYLIGHT
593TZNAME:EDT
594DTSTART:20170312T020000
595TZOFFSETFROM:-0500
596TZOFFSETTO:-0400
597END:DAYLIGHT
598BEGIN:STANDARD
599TZNAME:EST
600DTSTART:20171105T020000
601TZOFFSETFROM:-0400
602TZOFFSETTO:-0500
603END:STANDARD
604BEGIN:DAYLIGHT
605TZNAME:EDT
606DTSTART:20180311T020000
607TZOFFSETFROM:-0500
608TZOFFSETTO:-0400
609END:DAYLIGHT
610BEGIN:STANDARD
611TZNAME:EST
612DTSTART:20181104T020000
613TZOFFSETFROM:-0400
614TZOFFSETTO:-0500
615END:STANDARD
616BEGIN:DAYLIGHT
617TZNAME:EDT
618DTSTART:20190310T020000
619TZOFFSETFROM:-0500
620TZOFFSETTO:-0400
621END:DAYLIGHT
622BEGIN:STANDARD
623TZNAME:EST
624DTSTART:20191103T020000
625TZOFFSETFROM:-0400
626TZOFFSETTO:-0500
627END:STANDARD
628BEGIN:DAYLIGHT
629TZNAME:EDT
630DTSTART:20200308T020000
631TZOFFSETFROM:-0500
632TZOFFSETTO:-0400
633END:DAYLIGHT
634BEGIN:STANDARD
635TZNAME:EST
636DTSTART:20201101T020000
637TZOFFSETFROM:-0400
638TZOFFSETTO:-0500
639END:STANDARD
640BEGIN:DAYLIGHT
641TZNAME:EDT
642DTSTART:20210314T020000
643TZOFFSETFROM:-0500
644TZOFFSETTO:-0400
645END:DAYLIGHT
646BEGIN:STANDARD
647TZNAME:EST
648DTSTART:20211107T020000
649TZOFFSETFROM:-0400
650TZOFFSETTO:-0500
651END:STANDARD
652BEGIN:DAYLIGHT
653TZNAME:EDT
654DTSTART:20220313T020000
655TZOFFSETFROM:-0500
656TZOFFSETTO:-0400
657END:DAYLIGHT
658BEGIN:STANDARD
659TZNAME:EST
660DTSTART:20221106T020000
661TZOFFSETFROM:-0400
662TZOFFSETTO:-0500
663END:STANDARD
664BEGIN:DAYLIGHT
665TZNAME:EDT
666DTSTART:20230312T020000
667TZOFFSETFROM:-0500
668TZOFFSETTO:-0400
669END:DAYLIGHT
670BEGIN:STANDARD
671TZNAME:EST
672DTSTART:20231105T020000
673TZOFFSETFROM:-0400
674TZOFFSETTO:-0500
675END:STANDARD
676BEGIN:DAYLIGHT
677TZNAME:EDT
678DTSTART:20240310T020000
679TZOFFSETFROM:-0500
680TZOFFSETTO:-0400
681END:DAYLIGHT
682BEGIN:STANDARD
683TZNAME:EST
684DTSTART:20241103T020000
685TZOFFSETFROM:-0400
686TZOFFSETTO:-0500
687END:STANDARD
688BEGIN:DAYLIGHT
689TZNAME:EDT
690DTSTART:20250309T020000
691TZOFFSETFROM:-0500
692TZOFFSETTO:-0400
693END:DAYLIGHT
694BEGIN:STANDARD
695TZNAME:EST
696DTSTART:20251102T020000
697TZOFFSETFROM:-0400
698TZOFFSETTO:-0500
699END:STANDARD
700BEGIN:DAYLIGHT
701TZNAME:EDT
702DTSTART:20260308T020000
703TZOFFSETFROM:-0500
704TZOFFSETTO:-0400
705END:DAYLIGHT
706BEGIN:STANDARD
707TZNAME:EST
708DTSTART:20261101T020000
709TZOFFSETFROM:-0400
710TZOFFSETTO:-0500
711END:STANDARD
712BEGIN:DAYLIGHT
713TZNAME:EDT
714DTSTART:20270314T020000
715TZOFFSETFROM:-0500
716TZOFFSETTO:-0400
717END:DAYLIGHT
718BEGIN:STANDARD
719TZNAME:EST
720DTSTART:20271107T020000
721TZOFFSETFROM:-0400
722TZOFFSETTO:-0500
723END:STANDARD
724BEGIN:DAYLIGHT
725TZNAME:EDT
726DTSTART:20280312T020000
727TZOFFSETFROM:-0500
728TZOFFSETTO:-0400
729END:DAYLIGHT
730BEGIN:STANDARD
731TZNAME:EST
732DTSTART:20281105T020000
733TZOFFSETFROM:-0400
734TZOFFSETTO:-0500
735END:STANDARD
736BEGIN:DAYLIGHT
737TZNAME:EDT
738DTSTART:20290311T020000
739TZOFFSETFROM:-0500
740TZOFFSETTO:-0400
741END:DAYLIGHT
742BEGIN:STANDARD
743TZNAME:EST
744DTSTART:20291104T020000
745TZOFFSETFROM:-0400
746TZOFFSETTO:-0500
747END:STANDARD
748BEGIN:DAYLIGHT
749TZNAME:EDT
750DTSTART:20300310T020000
751TZOFFSETFROM:-0500
752TZOFFSETTO:-0400
753END:DAYLIGHT
754BEGIN:STANDARD
755TZNAME:EST
756DTSTART:20301103T020000
757TZOFFSETFROM:-0400
758TZOFFSETTO:-0500
759END:STANDARD
760BEGIN:DAYLIGHT
761TZNAME:EDT
762DTSTART:20310309T020000
763TZOFFSETFROM:-0500
764TZOFFSETTO:-0400
765END:DAYLIGHT
766BEGIN:STANDARD
767TZNAME:EST
768DTSTART:20311102T020000
769TZOFFSETFROM:-0400
770TZOFFSETTO:-0500
771END:STANDARD
772BEGIN:DAYLIGHT
773TZNAME:EDT
774DTSTART:20320314T020000
775TZOFFSETFROM:-0500
776TZOFFSETTO:-0400
777END:DAYLIGHT
778BEGIN:STANDARD
779TZNAME:EST
780DTSTART:20321107T020000
781TZOFFSETFROM:-0400
782TZOFFSETTO:-0500
783END:STANDARD
784BEGIN:DAYLIGHT
785TZNAME:EDT
786DTSTART:20330313T020000
787TZOFFSETFROM:-0500
788TZOFFSETTO:-0400
789END:DAYLIGHT
790BEGIN:STANDARD
791TZNAME:EST
792DTSTART:20331106T020000
793TZOFFSETFROM:-0400
794TZOFFSETTO:-0500
795END:STANDARD
796BEGIN:DAYLIGHT
797TZNAME:EDT
798DTSTART:20340312T020000
799TZOFFSETFROM:-0500
800TZOFFSETTO:-0400
801END:DAYLIGHT
802BEGIN:STANDARD
803TZNAME:EST
804DTSTART:20341105T020000
805TZOFFSETFROM:-0400
806TZOFFSETTO:-0500
807END:STANDARD
808BEGIN:DAYLIGHT
809TZNAME:EDT
810DTSTART:20350311T020000
811TZOFFSETFROM:-0500
812TZOFFSETTO:-0400
813END:DAYLIGHT
814BEGIN:STANDARD
815TZNAME:EST
816DTSTART:20351104T020000
817TZOFFSETFROM:-0400
818TZOFFSETTO:-0500
819END:STANDARD
820BEGIN:DAYLIGHT
821TZNAME:EDT
822DTSTART:20360309T020000
823TZOFFSETFROM:-0500
824TZOFFSETTO:-0400
825END:DAYLIGHT
826BEGIN:STANDARD
827TZNAME:EST
828DTSTART:20361102T020000
829TZOFFSETFROM:-0400
830TZOFFSETTO:-0500
831END:STANDARD
832BEGIN:DAYLIGHT
833TZNAME:EDT
834DTSTART:20370308T020000
835TZOFFSETFROM:-0500
836TZOFFSETTO:-0400
837END:DAYLIGHT
838BEGIN:STANDARD
839TZNAME:EST
840DTSTART:20371101T020000
841TZOFFSETFROM:-0400
842TZOFFSETTO:-0500
843END:STANDARD
844END:VTIMEZONE
845BEGIN:VEVENT
846UID:20140813T153116Z-12176-1000-1065-6@johnny-lubuntu
847DTSTAMP:20140813T142829Z
848DTSTART;TZID=/freeassociation.sourceforge.net/Tzfile/America/Toronto:201408
849 15T110000
850DTEND;TZID=/freeassociation.sourceforge.net/Tzfile/America/Toronto:20140815
851 T113000
852TRANSP:OPAQUE
853SEQUENCE:2
854SUMMARY:Evo makes a Meeting (fruux HQ) (fruux HQ)
855LOCATION:fruux HQ
856CLASS:PUBLIC
857ORGANIZER;SENT-BY="MAILTO:martin+johnny@fruux.com":MAILTO:martin@fruux.com
858ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
859 ;SENT-BY="MAILTO:martin+johnny@fruux.com";LANGUAGE=en:MAILTO:martin@fruux.
860 com
861ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
862 TRUE;LANGUAGE=en:MAILTO:dominik@fruux.com
863CREATED:20140813T153211Z
864LAST-MODIFIED:20140813T155353Z
865END:VEVENT
866END:VCALENDAR
867ICS;
868
869        $version = \Sabre\VObject\Version::VERSION;
870        $expectedICS = <<<ICS
871BEGIN:VCALENDAR
872VERSION:2.0
873PRODID:-//Sabre//Sabre VObject $version//EN
874CALSCALE:GREGORIAN
875METHOD:REQUEST
876BEGIN:VTIMEZONE
877TZID:/freeassociation.sourceforge.net/Tzfile/America/Toronto
878X-LIC-LOCATION:America/Toronto
879BEGIN:STANDARD
880TZNAME:EST
881DTSTART:19691026T020000
882TZOFFSETFROM:-0400
883TZOFFSETTO:-0500
884END:STANDARD
885BEGIN:DAYLIGHT
886TZNAME:EDT
887DTSTART:19700426T020000
888TZOFFSETFROM:-0500
889TZOFFSETTO:-0400
890END:DAYLIGHT
891BEGIN:STANDARD
892TZNAME:EST
893DTSTART:19701025T020000
894TZOFFSETFROM:-0400
895TZOFFSETTO:-0500
896END:STANDARD
897BEGIN:DAYLIGHT
898TZNAME:EDT
899DTSTART:19710425T020000
900TZOFFSETFROM:-0500
901TZOFFSETTO:-0400
902END:DAYLIGHT
903BEGIN:STANDARD
904TZNAME:EST
905DTSTART:19711031T020000
906TZOFFSETFROM:-0400
907TZOFFSETTO:-0500
908END:STANDARD
909BEGIN:DAYLIGHT
910TZNAME:EDT
911DTSTART:19720430T020000
912TZOFFSETFROM:-0500
913TZOFFSETTO:-0400
914END:DAYLIGHT
915BEGIN:STANDARD
916TZNAME:EST
917DTSTART:19721029T020000
918TZOFFSETFROM:-0400
919TZOFFSETTO:-0500
920END:STANDARD
921BEGIN:DAYLIGHT
922TZNAME:EDT
923DTSTART:19730429T020000
924TZOFFSETFROM:-0500
925TZOFFSETTO:-0400
926END:DAYLIGHT
927BEGIN:STANDARD
928TZNAME:EST
929DTSTART:19731028T020000
930TZOFFSETFROM:-0400
931TZOFFSETTO:-0500
932END:STANDARD
933BEGIN:DAYLIGHT
934TZNAME:EDT
935DTSTART:19740428T020000
936TZOFFSETFROM:-0500
937TZOFFSETTO:-0400
938END:DAYLIGHT
939BEGIN:STANDARD
940TZNAME:EST
941DTSTART:19741027T020000
942TZOFFSETFROM:-0400
943TZOFFSETTO:-0500
944END:STANDARD
945BEGIN:DAYLIGHT
946TZNAME:EDT
947DTSTART:19750427T020000
948TZOFFSETFROM:-0500
949TZOFFSETTO:-0400
950END:DAYLIGHT
951BEGIN:STANDARD
952TZNAME:EST
953DTSTART:19751026T020000
954TZOFFSETFROM:-0400
955TZOFFSETTO:-0500
956END:STANDARD
957BEGIN:DAYLIGHT
958TZNAME:EDT
959DTSTART:19760425T020000
960TZOFFSETFROM:-0500
961TZOFFSETTO:-0400
962END:DAYLIGHT
963BEGIN:STANDARD
964TZNAME:EST
965DTSTART:19761031T020000
966TZOFFSETFROM:-0400
967TZOFFSETTO:-0500
968END:STANDARD
969BEGIN:DAYLIGHT
970TZNAME:EDT
971DTSTART:19770424T020000
972TZOFFSETFROM:-0500
973TZOFFSETTO:-0400
974END:DAYLIGHT
975BEGIN:STANDARD
976TZNAME:EST
977DTSTART:19771030T020000
978TZOFFSETFROM:-0400
979TZOFFSETTO:-0500
980END:STANDARD
981BEGIN:DAYLIGHT
982TZNAME:EDT
983DTSTART:19780430T020000
984TZOFFSETFROM:-0500
985TZOFFSETTO:-0400
986END:DAYLIGHT
987BEGIN:STANDARD
988TZNAME:EST
989DTSTART:19781029T020000
990TZOFFSETFROM:-0400
991TZOFFSETTO:-0500
992END:STANDARD
993BEGIN:DAYLIGHT
994TZNAME:EDT
995DTSTART:19790429T020000
996TZOFFSETFROM:-0500
997TZOFFSETTO:-0400
998END:DAYLIGHT
999BEGIN:STANDARD
1000TZNAME:EST
1001DTSTART:19791028T020000
1002TZOFFSETFROM:-0400
1003TZOFFSETTO:-0500
1004END:STANDARD
1005BEGIN:DAYLIGHT
1006TZNAME:EDT
1007DTSTART:19800427T020000
1008TZOFFSETFROM:-0500
1009TZOFFSETTO:-0400
1010END:DAYLIGHT
1011BEGIN:STANDARD
1012TZNAME:EST
1013DTSTART:19801026T020000
1014TZOFFSETFROM:-0400
1015TZOFFSETTO:-0500
1016END:STANDARD
1017BEGIN:DAYLIGHT
1018TZNAME:EDT
1019DTSTART:19810426T020000
1020TZOFFSETFROM:-0500
1021TZOFFSETTO:-0400
1022END:DAYLIGHT
1023BEGIN:STANDARD
1024TZNAME:EST
1025DTSTART:19811025T020000
1026TZOFFSETFROM:-0400
1027TZOFFSETTO:-0500
1028END:STANDARD
1029BEGIN:DAYLIGHT
1030TZNAME:EDT
1031DTSTART:19820425T020000
1032TZOFFSETFROM:-0500
1033TZOFFSETTO:-0400
1034END:DAYLIGHT
1035BEGIN:STANDARD
1036TZNAME:EST
1037DTSTART:19821031T020000
1038TZOFFSETFROM:-0400
1039TZOFFSETTO:-0500
1040END:STANDARD
1041BEGIN:DAYLIGHT
1042TZNAME:EDT
1043DTSTART:19830424T020000
1044TZOFFSETFROM:-0500
1045TZOFFSETTO:-0400
1046END:DAYLIGHT
1047BEGIN:STANDARD
1048TZNAME:EST
1049DTSTART:19831030T020000
1050TZOFFSETFROM:-0400
1051TZOFFSETTO:-0500
1052END:STANDARD
1053BEGIN:DAYLIGHT
1054TZNAME:EDT
1055DTSTART:19840429T020000
1056TZOFFSETFROM:-0500
1057TZOFFSETTO:-0400
1058END:DAYLIGHT
1059BEGIN:STANDARD
1060TZNAME:EST
1061DTSTART:19841028T020000
1062TZOFFSETFROM:-0400
1063TZOFFSETTO:-0500
1064END:STANDARD
1065BEGIN:DAYLIGHT
1066TZNAME:EDT
1067DTSTART:19850428T020000
1068TZOFFSETFROM:-0500
1069TZOFFSETTO:-0400
1070END:DAYLIGHT
1071BEGIN:STANDARD
1072TZNAME:EST
1073DTSTART:19851027T020000
1074TZOFFSETFROM:-0400
1075TZOFFSETTO:-0500
1076END:STANDARD
1077BEGIN:DAYLIGHT
1078TZNAME:EDT
1079DTSTART:19860427T020000
1080TZOFFSETFROM:-0500
1081TZOFFSETTO:-0400
1082END:DAYLIGHT
1083BEGIN:STANDARD
1084TZNAME:EST
1085DTSTART:19861026T020000
1086TZOFFSETFROM:-0400
1087TZOFFSETTO:-0500
1088END:STANDARD
1089BEGIN:DAYLIGHT
1090TZNAME:EDT
1091DTSTART:19870405T020000
1092TZOFFSETFROM:-0500
1093TZOFFSETTO:-0400
1094END:DAYLIGHT
1095BEGIN:STANDARD
1096TZNAME:EST
1097DTSTART:19871025T020000
1098TZOFFSETFROM:-0400
1099TZOFFSETTO:-0500
1100END:STANDARD
1101BEGIN:DAYLIGHT
1102TZNAME:EDT
1103DTSTART:19880403T020000
1104TZOFFSETFROM:-0500
1105TZOFFSETTO:-0400
1106END:DAYLIGHT
1107BEGIN:STANDARD
1108TZNAME:EST
1109DTSTART:19881030T020000
1110TZOFFSETFROM:-0400
1111TZOFFSETTO:-0500
1112END:STANDARD
1113BEGIN:DAYLIGHT
1114TZNAME:EDT
1115DTSTART:19890402T020000
1116TZOFFSETFROM:-0500
1117TZOFFSETTO:-0400
1118END:DAYLIGHT
1119BEGIN:STANDARD
1120TZNAME:EST
1121DTSTART:19891029T020000
1122TZOFFSETFROM:-0400
1123TZOFFSETTO:-0500
1124END:STANDARD
1125BEGIN:DAYLIGHT
1126TZNAME:EDT
1127DTSTART:19900401T020000
1128TZOFFSETFROM:-0500
1129TZOFFSETTO:-0400
1130END:DAYLIGHT
1131BEGIN:STANDARD
1132TZNAME:EST
1133DTSTART:19901028T020000
1134TZOFFSETFROM:-0400
1135TZOFFSETTO:-0500
1136END:STANDARD
1137BEGIN:DAYLIGHT
1138TZNAME:EDT
1139DTSTART:19910407T020000
1140TZOFFSETFROM:-0500
1141TZOFFSETTO:-0400
1142END:DAYLIGHT
1143BEGIN:STANDARD
1144TZNAME:EST
1145DTSTART:19911027T020000
1146TZOFFSETFROM:-0400
1147TZOFFSETTO:-0500
1148END:STANDARD
1149BEGIN:DAYLIGHT
1150TZNAME:EDT
1151DTSTART:19920405T020000
1152TZOFFSETFROM:-0500
1153TZOFFSETTO:-0400
1154END:DAYLIGHT
1155BEGIN:STANDARD
1156TZNAME:EST
1157DTSTART:19921025T020000
1158TZOFFSETFROM:-0400
1159TZOFFSETTO:-0500
1160END:STANDARD
1161BEGIN:DAYLIGHT
1162TZNAME:EDT
1163DTSTART:19930404T020000
1164TZOFFSETFROM:-0500
1165TZOFFSETTO:-0400
1166END:DAYLIGHT
1167BEGIN:STANDARD
1168TZNAME:EST
1169DTSTART:19931031T020000
1170TZOFFSETFROM:-0400
1171TZOFFSETTO:-0500
1172END:STANDARD
1173BEGIN:DAYLIGHT
1174TZNAME:EDT
1175DTSTART:19940403T020000
1176TZOFFSETFROM:-0500
1177TZOFFSETTO:-0400
1178END:DAYLIGHT
1179BEGIN:STANDARD
1180TZNAME:EST
1181DTSTART:19941030T020000
1182TZOFFSETFROM:-0400
1183TZOFFSETTO:-0500
1184END:STANDARD
1185BEGIN:DAYLIGHT
1186TZNAME:EDT
1187DTSTART:19950402T020000
1188TZOFFSETFROM:-0500
1189TZOFFSETTO:-0400
1190END:DAYLIGHT
1191BEGIN:STANDARD
1192TZNAME:EST
1193DTSTART:19951029T020000
1194TZOFFSETFROM:-0400
1195TZOFFSETTO:-0500
1196END:STANDARD
1197BEGIN:DAYLIGHT
1198TZNAME:EDT
1199DTSTART:19960407T020000
1200TZOFFSETFROM:-0500
1201TZOFFSETTO:-0400
1202END:DAYLIGHT
1203BEGIN:STANDARD
1204TZNAME:EST
1205DTSTART:19961027T020000
1206TZOFFSETFROM:-0400
1207TZOFFSETTO:-0500
1208END:STANDARD
1209BEGIN:DAYLIGHT
1210TZNAME:EDT
1211DTSTART:19970406T020000
1212TZOFFSETFROM:-0500
1213TZOFFSETTO:-0400
1214END:DAYLIGHT
1215BEGIN:STANDARD
1216TZNAME:EST
1217DTSTART:19971026T020000
1218TZOFFSETFROM:-0400
1219TZOFFSETTO:-0500
1220END:STANDARD
1221BEGIN:DAYLIGHT
1222TZNAME:EDT
1223DTSTART:19980405T020000
1224TZOFFSETFROM:-0500
1225TZOFFSETTO:-0400
1226END:DAYLIGHT
1227BEGIN:STANDARD
1228TZNAME:EST
1229DTSTART:19981025T020000
1230TZOFFSETFROM:-0400
1231TZOFFSETTO:-0500
1232END:STANDARD
1233BEGIN:DAYLIGHT
1234TZNAME:EDT
1235DTSTART:19990404T020000
1236TZOFFSETFROM:-0500
1237TZOFFSETTO:-0400
1238END:DAYLIGHT
1239BEGIN:STANDARD
1240TZNAME:EST
1241DTSTART:19991031T020000
1242TZOFFSETFROM:-0400
1243TZOFFSETTO:-0500
1244END:STANDARD
1245BEGIN:DAYLIGHT
1246TZNAME:EDT
1247DTSTART:20000402T020000
1248TZOFFSETFROM:-0500
1249TZOFFSETTO:-0400
1250END:DAYLIGHT
1251BEGIN:STANDARD
1252TZNAME:EST
1253DTSTART:20001029T020000
1254TZOFFSETFROM:-0400
1255TZOFFSETTO:-0500
1256END:STANDARD
1257BEGIN:DAYLIGHT
1258TZNAME:EDT
1259DTSTART:20010401T020000
1260TZOFFSETFROM:-0500
1261TZOFFSETTO:-0400
1262END:DAYLIGHT
1263BEGIN:STANDARD
1264TZNAME:EST
1265DTSTART:20011028T020000
1266TZOFFSETFROM:-0400
1267TZOFFSETTO:-0500
1268END:STANDARD
1269BEGIN:DAYLIGHT
1270TZNAME:EDT
1271DTSTART:20020407T020000
1272TZOFFSETFROM:-0500
1273TZOFFSETTO:-0400
1274END:DAYLIGHT
1275BEGIN:STANDARD
1276TZNAME:EST
1277DTSTART:20021027T020000
1278TZOFFSETFROM:-0400
1279TZOFFSETTO:-0500
1280END:STANDARD
1281BEGIN:DAYLIGHT
1282TZNAME:EDT
1283DTSTART:20030406T020000
1284TZOFFSETFROM:-0500
1285TZOFFSETTO:-0400
1286END:DAYLIGHT
1287BEGIN:STANDARD
1288TZNAME:EST
1289DTSTART:20031026T020000
1290TZOFFSETFROM:-0400
1291TZOFFSETTO:-0500
1292END:STANDARD
1293BEGIN:DAYLIGHT
1294TZNAME:EDT
1295DTSTART:20040404T020000
1296TZOFFSETFROM:-0500
1297TZOFFSETTO:-0400
1298END:DAYLIGHT
1299BEGIN:STANDARD
1300TZNAME:EST
1301DTSTART:20041031T020000
1302TZOFFSETFROM:-0400
1303TZOFFSETTO:-0500
1304END:STANDARD
1305BEGIN:DAYLIGHT
1306TZNAME:EDT
1307DTSTART:20050403T020000
1308TZOFFSETFROM:-0500
1309TZOFFSETTO:-0400
1310END:DAYLIGHT
1311BEGIN:STANDARD
1312TZNAME:EST
1313DTSTART:20051030T020000
1314TZOFFSETFROM:-0400
1315TZOFFSETTO:-0500
1316END:STANDARD
1317BEGIN:DAYLIGHT
1318TZNAME:EDT
1319DTSTART:20060402T020000
1320TZOFFSETFROM:-0500
1321TZOFFSETTO:-0400
1322END:DAYLIGHT
1323BEGIN:STANDARD
1324TZNAME:EST
1325DTSTART:20061029T020000
1326TZOFFSETFROM:-0400
1327TZOFFSETTO:-0500
1328END:STANDARD
1329BEGIN:DAYLIGHT
1330TZNAME:EDT
1331DTSTART:20070311T020000
1332TZOFFSETFROM:-0500
1333TZOFFSETTO:-0400
1334END:DAYLIGHT
1335BEGIN:STANDARD
1336TZNAME:EST
1337DTSTART:20071104T020000
1338TZOFFSETFROM:-0400
1339TZOFFSETTO:-0500
1340END:STANDARD
1341BEGIN:DAYLIGHT
1342TZNAME:EDT
1343DTSTART:20080309T020000
1344TZOFFSETFROM:-0500
1345TZOFFSETTO:-0400
1346END:DAYLIGHT
1347BEGIN:STANDARD
1348TZNAME:EST
1349DTSTART:20081102T020000
1350TZOFFSETFROM:-0400
1351TZOFFSETTO:-0500
1352END:STANDARD
1353BEGIN:DAYLIGHT
1354TZNAME:EDT
1355DTSTART:20090308T020000
1356TZOFFSETFROM:-0500
1357TZOFFSETTO:-0400
1358END:DAYLIGHT
1359BEGIN:STANDARD
1360TZNAME:EST
1361DTSTART:20091101T020000
1362TZOFFSETFROM:-0400
1363TZOFFSETTO:-0500
1364END:STANDARD
1365BEGIN:DAYLIGHT
1366TZNAME:EDT
1367DTSTART:20100314T020000
1368TZOFFSETFROM:-0500
1369TZOFFSETTO:-0400
1370END:DAYLIGHT
1371BEGIN:STANDARD
1372TZNAME:EST
1373DTSTART:20101107T020000
1374TZOFFSETFROM:-0400
1375TZOFFSETTO:-0500
1376END:STANDARD
1377BEGIN:DAYLIGHT
1378TZNAME:EDT
1379DTSTART:20110313T020000
1380TZOFFSETFROM:-0500
1381TZOFFSETTO:-0400
1382END:DAYLIGHT
1383BEGIN:STANDARD
1384TZNAME:EST
1385DTSTART:20111106T020000
1386TZOFFSETFROM:-0400
1387TZOFFSETTO:-0500
1388END:STANDARD
1389BEGIN:DAYLIGHT
1390TZNAME:EDT
1391DTSTART:20120311T020000
1392TZOFFSETFROM:-0500
1393TZOFFSETTO:-0400
1394END:DAYLIGHT
1395BEGIN:STANDARD
1396TZNAME:EST
1397DTSTART:20121104T020000
1398TZOFFSETFROM:-0400
1399TZOFFSETTO:-0500
1400END:STANDARD
1401BEGIN:DAYLIGHT
1402TZNAME:EDT
1403DTSTART:20130310T020000
1404TZOFFSETFROM:-0500
1405TZOFFSETTO:-0400
1406END:DAYLIGHT
1407BEGIN:STANDARD
1408TZNAME:EST
1409DTSTART:20131103T020000
1410TZOFFSETFROM:-0400
1411TZOFFSETTO:-0500
1412END:STANDARD
1413BEGIN:DAYLIGHT
1414TZNAME:EDT
1415DTSTART:20140309T020000
1416TZOFFSETFROM:-0500
1417TZOFFSETTO:-0400
1418END:DAYLIGHT
1419BEGIN:STANDARD
1420TZNAME:EST
1421DTSTART:20141102T020000
1422TZOFFSETFROM:-0400
1423TZOFFSETTO:-0500
1424END:STANDARD
1425BEGIN:DAYLIGHT
1426TZNAME:EDT
1427DTSTART:20150308T020000
1428TZOFFSETFROM:-0500
1429TZOFFSETTO:-0400
1430END:DAYLIGHT
1431BEGIN:STANDARD
1432TZNAME:EST
1433DTSTART:20151101T020000
1434TZOFFSETFROM:-0400
1435TZOFFSETTO:-0500
1436END:STANDARD
1437BEGIN:DAYLIGHT
1438TZNAME:EDT
1439DTSTART:20160313T020000
1440TZOFFSETFROM:-0500
1441TZOFFSETTO:-0400
1442END:DAYLIGHT
1443BEGIN:STANDARD
1444TZNAME:EST
1445DTSTART:20161106T020000
1446TZOFFSETFROM:-0400
1447TZOFFSETTO:-0500
1448END:STANDARD
1449BEGIN:DAYLIGHT
1450TZNAME:EDT
1451DTSTART:20170312T020000
1452TZOFFSETFROM:-0500
1453TZOFFSETTO:-0400
1454END:DAYLIGHT
1455BEGIN:STANDARD
1456TZNAME:EST
1457DTSTART:20171105T020000
1458TZOFFSETFROM:-0400
1459TZOFFSETTO:-0500
1460END:STANDARD
1461BEGIN:DAYLIGHT
1462TZNAME:EDT
1463DTSTART:20180311T020000
1464TZOFFSETFROM:-0500
1465TZOFFSETTO:-0400
1466END:DAYLIGHT
1467BEGIN:STANDARD
1468TZNAME:EST
1469DTSTART:20181104T020000
1470TZOFFSETFROM:-0400
1471TZOFFSETTO:-0500
1472END:STANDARD
1473BEGIN:DAYLIGHT
1474TZNAME:EDT
1475DTSTART:20190310T020000
1476TZOFFSETFROM:-0500
1477TZOFFSETTO:-0400
1478END:DAYLIGHT
1479BEGIN:STANDARD
1480TZNAME:EST
1481DTSTART:20191103T020000
1482TZOFFSETFROM:-0400
1483TZOFFSETTO:-0500
1484END:STANDARD
1485BEGIN:DAYLIGHT
1486TZNAME:EDT
1487DTSTART:20200308T020000
1488TZOFFSETFROM:-0500
1489TZOFFSETTO:-0400
1490END:DAYLIGHT
1491BEGIN:STANDARD
1492TZNAME:EST
1493DTSTART:20201101T020000
1494TZOFFSETFROM:-0400
1495TZOFFSETTO:-0500
1496END:STANDARD
1497BEGIN:DAYLIGHT
1498TZNAME:EDT
1499DTSTART:20210314T020000
1500TZOFFSETFROM:-0500
1501TZOFFSETTO:-0400
1502END:DAYLIGHT
1503BEGIN:STANDARD
1504TZNAME:EST
1505DTSTART:20211107T020000
1506TZOFFSETFROM:-0400
1507TZOFFSETTO:-0500
1508END:STANDARD
1509BEGIN:DAYLIGHT
1510TZNAME:EDT
1511DTSTART:20220313T020000
1512TZOFFSETFROM:-0500
1513TZOFFSETTO:-0400
1514END:DAYLIGHT
1515BEGIN:STANDARD
1516TZNAME:EST
1517DTSTART:20221106T020000
1518TZOFFSETFROM:-0400
1519TZOFFSETTO:-0500
1520END:STANDARD
1521BEGIN:DAYLIGHT
1522TZNAME:EDT
1523DTSTART:20230312T020000
1524TZOFFSETFROM:-0500
1525TZOFFSETTO:-0400
1526END:DAYLIGHT
1527BEGIN:STANDARD
1528TZNAME:EST
1529DTSTART:20231105T020000
1530TZOFFSETFROM:-0400
1531TZOFFSETTO:-0500
1532END:STANDARD
1533BEGIN:DAYLIGHT
1534TZNAME:EDT
1535DTSTART:20240310T020000
1536TZOFFSETFROM:-0500
1537TZOFFSETTO:-0400
1538END:DAYLIGHT
1539BEGIN:STANDARD
1540TZNAME:EST
1541DTSTART:20241103T020000
1542TZOFFSETFROM:-0400
1543TZOFFSETTO:-0500
1544END:STANDARD
1545BEGIN:DAYLIGHT
1546TZNAME:EDT
1547DTSTART:20250309T020000
1548TZOFFSETFROM:-0500
1549TZOFFSETTO:-0400
1550END:DAYLIGHT
1551BEGIN:STANDARD
1552TZNAME:EST
1553DTSTART:20251102T020000
1554TZOFFSETFROM:-0400
1555TZOFFSETTO:-0500
1556END:STANDARD
1557BEGIN:DAYLIGHT
1558TZNAME:EDT
1559DTSTART:20260308T020000
1560TZOFFSETFROM:-0500
1561TZOFFSETTO:-0400
1562END:DAYLIGHT
1563BEGIN:STANDARD
1564TZNAME:EST
1565DTSTART:20261101T020000
1566TZOFFSETFROM:-0400
1567TZOFFSETTO:-0500
1568END:STANDARD
1569BEGIN:DAYLIGHT
1570TZNAME:EDT
1571DTSTART:20270314T020000
1572TZOFFSETFROM:-0500
1573TZOFFSETTO:-0400
1574END:DAYLIGHT
1575BEGIN:STANDARD
1576TZNAME:EST
1577DTSTART:20271107T020000
1578TZOFFSETFROM:-0400
1579TZOFFSETTO:-0500
1580END:STANDARD
1581BEGIN:DAYLIGHT
1582TZNAME:EDT
1583DTSTART:20280312T020000
1584TZOFFSETFROM:-0500
1585TZOFFSETTO:-0400
1586END:DAYLIGHT
1587BEGIN:STANDARD
1588TZNAME:EST
1589DTSTART:20281105T020000
1590TZOFFSETFROM:-0400
1591TZOFFSETTO:-0500
1592END:STANDARD
1593BEGIN:DAYLIGHT
1594TZNAME:EDT
1595DTSTART:20290311T020000
1596TZOFFSETFROM:-0500
1597TZOFFSETTO:-0400
1598END:DAYLIGHT
1599BEGIN:STANDARD
1600TZNAME:EST
1601DTSTART:20291104T020000
1602TZOFFSETFROM:-0400
1603TZOFFSETTO:-0500
1604END:STANDARD
1605BEGIN:DAYLIGHT
1606TZNAME:EDT
1607DTSTART:20300310T020000
1608TZOFFSETFROM:-0500
1609TZOFFSETTO:-0400
1610END:DAYLIGHT
1611BEGIN:STANDARD
1612TZNAME:EST
1613DTSTART:20301103T020000
1614TZOFFSETFROM:-0400
1615TZOFFSETTO:-0500
1616END:STANDARD
1617BEGIN:DAYLIGHT
1618TZNAME:EDT
1619DTSTART:20310309T020000
1620TZOFFSETFROM:-0500
1621TZOFFSETTO:-0400
1622END:DAYLIGHT
1623BEGIN:STANDARD
1624TZNAME:EST
1625DTSTART:20311102T020000
1626TZOFFSETFROM:-0400
1627TZOFFSETTO:-0500
1628END:STANDARD
1629BEGIN:DAYLIGHT
1630TZNAME:EDT
1631DTSTART:20320314T020000
1632TZOFFSETFROM:-0500
1633TZOFFSETTO:-0400
1634END:DAYLIGHT
1635BEGIN:STANDARD
1636TZNAME:EST
1637DTSTART:20321107T020000
1638TZOFFSETFROM:-0400
1639TZOFFSETTO:-0500
1640END:STANDARD
1641BEGIN:DAYLIGHT
1642TZNAME:EDT
1643DTSTART:20330313T020000
1644TZOFFSETFROM:-0500
1645TZOFFSETTO:-0400
1646END:DAYLIGHT
1647BEGIN:STANDARD
1648TZNAME:EST
1649DTSTART:20331106T020000
1650TZOFFSETFROM:-0400
1651TZOFFSETTO:-0500
1652END:STANDARD
1653BEGIN:DAYLIGHT
1654TZNAME:EDT
1655DTSTART:20340312T020000
1656TZOFFSETFROM:-0500
1657TZOFFSETTO:-0400
1658END:DAYLIGHT
1659BEGIN:STANDARD
1660TZNAME:EST
1661DTSTART:20341105T020000
1662TZOFFSETFROM:-0400
1663TZOFFSETTO:-0500
1664END:STANDARD
1665BEGIN:DAYLIGHT
1666TZNAME:EDT
1667DTSTART:20350311T020000
1668TZOFFSETFROM:-0500
1669TZOFFSETTO:-0400
1670END:DAYLIGHT
1671BEGIN:STANDARD
1672TZNAME:EST
1673DTSTART:20351104T020000
1674TZOFFSETFROM:-0400
1675TZOFFSETTO:-0500
1676END:STANDARD
1677BEGIN:DAYLIGHT
1678TZNAME:EDT
1679DTSTART:20360309T020000
1680TZOFFSETFROM:-0500
1681TZOFFSETTO:-0400
1682END:DAYLIGHT
1683BEGIN:STANDARD
1684TZNAME:EST
1685DTSTART:20361102T020000
1686TZOFFSETFROM:-0400
1687TZOFFSETTO:-0500
1688END:STANDARD
1689BEGIN:DAYLIGHT
1690TZNAME:EDT
1691DTSTART:20370308T020000
1692TZOFFSETFROM:-0500
1693TZOFFSETTO:-0400
1694END:DAYLIGHT
1695BEGIN:STANDARD
1696TZNAME:EST
1697DTSTART:20371101T020000
1698TZOFFSETFROM:-0400
1699TZOFFSETTO:-0500
1700END:STANDARD
1701END:VTIMEZONE
1702BEGIN:VEVENT
1703UID:20140813T153116Z-12176-1000-1065-6@johnny-lubuntu
1704DTSTAMP:20140813T142829Z
1705DTSTART;TZID=/freeassociation.sourceforge.net/Tzfile/America/Toronto:201408
1706 15T110000
1707DTEND;TZID=/freeassociation.sourceforge.net/Tzfile/America/Toronto:20140815
1708 T113000
1709TRANSP:OPAQUE
1710SEQUENCE:2
1711SUMMARY:Evo makes a Meeting (fruux HQ) (fruux HQ)
1712LOCATION:fruux HQ
1713CLASS:PUBLIC
1714ORGANIZER;SENT-BY="MAILTO:martin+johnny@fruux.com":MAILTO:martin@fruux.com
1715ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
1716 ;SENT-BY="MAILTO:martin+johnny@fruux.com";LANGUAGE=en:MAILTO:martin@fruux.
1717 com
1718ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
1719 TRUE;LANGUAGE=en:MAILTO:dominik@fruux.com
1720CREATED:20140813T153211Z
1721LAST-MODIFIED:20140813T155353Z
1722END:VEVENT
1723END:VCALENDAR
1724ICS;
1725
1726        $expected = array(
1727            array(
1728                'uid' => '20140813T153116Z-12176-1000-1065-6@johnny-lubuntu',
1729                'method' => 'REQUEST',
1730                'sender' => 'mailto:martin@fruux.com',
1731                'senderName' => null,
1732                'recipient' => 'mailto:dominik@fruux.com',
1733                'recipientName' => null,
1734                'message' => $expectedICS,
1735            )
1736        );
1737        $this->parse(null, $ics, $expected, 'mailto:martin@fruux.com');
1738
1739    }
1740
1741    /**
1742     * This is an event originally from evolution, then parsed by sabredav and
1743     * again mangled by iCal. This triggered a few bugs related to email
1744     * address scheme casing.
1745     */
1746    public function testAttendeeModify() {
1747
1748        $old = <<<ICS
1749BEGIN:VCALENDAR
1750VERSION:2.0
1751PRODID:-//Sabre//Sabre VObject 3.3.1//EN
1752CALSCALE:GREGORIAN
1753BEGIN:VTIMEZONE
1754TZID:/freeassociation.sourceforge.net/Tzfile/America/Toronto
1755X-LIC-LOCATION:America/Toronto
1756BEGIN:STANDARD
1757TZNAME:EST
1758DTSTART:19691026T020000
1759TZOFFSETFROM:-0400
1760TZOFFSETTO:-0500
1761END:STANDARD
1762BEGIN:DAYLIGHT
1763TZNAME:EDT
1764DTSTART:19700426T020000
1765TZOFFSETFROM:-0500
1766TZOFFSETTO:-0400
1767END:DAYLIGHT
1768BEGIN:STANDARD
1769TZNAME:EST
1770DTSTART:19701025T020000
1771TZOFFSETFROM:-0400
1772TZOFFSETTO:-0500
1773END:STANDARD
1774BEGIN:DAYLIGHT
1775TZNAME:EDT
1776DTSTART:19710425T020000
1777TZOFFSETFROM:-0500
1778TZOFFSETTO:-0400
1779END:DAYLIGHT
1780BEGIN:STANDARD
1781TZNAME:EST
1782DTSTART:19711031T020000
1783TZOFFSETFROM:-0400
1784TZOFFSETTO:-0500
1785END:STANDARD
1786BEGIN:DAYLIGHT
1787TZNAME:EDT
1788DTSTART:19720430T020000
1789TZOFFSETFROM:-0500
1790TZOFFSETTO:-0400
1791END:DAYLIGHT
1792BEGIN:STANDARD
1793TZNAME:EST
1794DTSTART:19721029T020000
1795TZOFFSETFROM:-0400
1796TZOFFSETTO:-0500
1797END:STANDARD
1798BEGIN:DAYLIGHT
1799TZNAME:EDT
1800DTSTART:19730429T020000
1801TZOFFSETFROM:-0500
1802TZOFFSETTO:-0400
1803END:DAYLIGHT
1804BEGIN:STANDARD
1805TZNAME:EST
1806DTSTART:19731028T020000
1807TZOFFSETFROM:-0400
1808TZOFFSETTO:-0500
1809END:STANDARD
1810BEGIN:DAYLIGHT
1811TZNAME:EDT
1812DTSTART:19740428T020000
1813TZOFFSETFROM:-0500
1814TZOFFSETTO:-0400
1815END:DAYLIGHT
1816BEGIN:STANDARD
1817TZNAME:EST
1818DTSTART:19741027T020000
1819TZOFFSETFROM:-0400
1820TZOFFSETTO:-0500
1821END:STANDARD
1822BEGIN:DAYLIGHT
1823TZNAME:EDT
1824DTSTART:19750427T020000
1825TZOFFSETFROM:-0500
1826TZOFFSETTO:-0400
1827END:DAYLIGHT
1828BEGIN:STANDARD
1829TZNAME:EST
1830DTSTART:19751026T020000
1831TZOFFSETFROM:-0400
1832TZOFFSETTO:-0500
1833END:STANDARD
1834BEGIN:DAYLIGHT
1835TZNAME:EDT
1836DTSTART:19760425T020000
1837TZOFFSETFROM:-0500
1838TZOFFSETTO:-0400
1839END:DAYLIGHT
1840BEGIN:STANDARD
1841TZNAME:EST
1842DTSTART:19761031T020000
1843TZOFFSETFROM:-0400
1844TZOFFSETTO:-0500
1845END:STANDARD
1846BEGIN:DAYLIGHT
1847TZNAME:EDT
1848DTSTART:19770424T020000
1849TZOFFSETFROM:-0500
1850TZOFFSETTO:-0400
1851END:DAYLIGHT
1852BEGIN:STANDARD
1853TZNAME:EST
1854DTSTART:19771030T020000
1855TZOFFSETFROM:-0400
1856TZOFFSETTO:-0500
1857END:STANDARD
1858BEGIN:DAYLIGHT
1859TZNAME:EDT
1860DTSTART:19780430T020000
1861TZOFFSETFROM:-0500
1862TZOFFSETTO:-0400
1863END:DAYLIGHT
1864BEGIN:STANDARD
1865TZNAME:EST
1866DTSTART:19781029T020000
1867TZOFFSETFROM:-0400
1868TZOFFSETTO:-0500
1869END:STANDARD
1870BEGIN:DAYLIGHT
1871TZNAME:EDT
1872DTSTART:19790429T020000
1873TZOFFSETFROM:-0500
1874TZOFFSETTO:-0400
1875END:DAYLIGHT
1876BEGIN:STANDARD
1877TZNAME:EST
1878DTSTART:19791028T020000
1879TZOFFSETFROM:-0400
1880TZOFFSETTO:-0500
1881END:STANDARD
1882BEGIN:DAYLIGHT
1883TZNAME:EDT
1884DTSTART:19800427T020000
1885TZOFFSETFROM:-0500
1886TZOFFSETTO:-0400
1887END:DAYLIGHT
1888BEGIN:STANDARD
1889TZNAME:EST
1890DTSTART:19801026T020000
1891TZOFFSETFROM:-0400
1892TZOFFSETTO:-0500
1893END:STANDARD
1894BEGIN:DAYLIGHT
1895TZNAME:EDT
1896DTSTART:19810426T020000
1897TZOFFSETFROM:-0500
1898TZOFFSETTO:-0400
1899END:DAYLIGHT
1900BEGIN:STANDARD
1901TZNAME:EST
1902DTSTART:19811025T020000
1903TZOFFSETFROM:-0400
1904TZOFFSETTO:-0500
1905END:STANDARD
1906BEGIN:DAYLIGHT
1907TZNAME:EDT
1908DTSTART:19820425T020000
1909TZOFFSETFROM:-0500
1910TZOFFSETTO:-0400
1911END:DAYLIGHT
1912BEGIN:STANDARD
1913TZNAME:EST
1914DTSTART:19821031T020000
1915TZOFFSETFROM:-0400
1916TZOFFSETTO:-0500
1917END:STANDARD
1918BEGIN:DAYLIGHT
1919TZNAME:EDT
1920DTSTART:19830424T020000
1921TZOFFSETFROM:-0500
1922TZOFFSETTO:-0400
1923END:DAYLIGHT
1924BEGIN:STANDARD
1925TZNAME:EST
1926DTSTART:19831030T020000
1927TZOFFSETFROM:-0400
1928TZOFFSETTO:-0500
1929END:STANDARD
1930BEGIN:DAYLIGHT
1931TZNAME:EDT
1932DTSTART:19840429T020000
1933TZOFFSETFROM:-0500
1934TZOFFSETTO:-0400
1935END:DAYLIGHT
1936BEGIN:STANDARD
1937TZNAME:EST
1938DTSTART:19841028T020000
1939TZOFFSETFROM:-0400
1940TZOFFSETTO:-0500
1941END:STANDARD
1942BEGIN:DAYLIGHT
1943TZNAME:EDT
1944DTSTART:19850428T020000
1945TZOFFSETFROM:-0500
1946TZOFFSETTO:-0400
1947END:DAYLIGHT
1948BEGIN:STANDARD
1949TZNAME:EST
1950DTSTART:19851027T020000
1951TZOFFSETFROM:-0400
1952TZOFFSETTO:-0500
1953END:STANDARD
1954BEGIN:DAYLIGHT
1955TZNAME:EDT
1956DTSTART:19860427T020000
1957TZOFFSETFROM:-0500
1958TZOFFSETTO:-0400
1959END:DAYLIGHT
1960BEGIN:STANDARD
1961TZNAME:EST
1962DTSTART:19861026T020000
1963TZOFFSETFROM:-0400
1964TZOFFSETTO:-0500
1965END:STANDARD
1966BEGIN:DAYLIGHT
1967TZNAME:EDT
1968DTSTART:19870405T020000
1969TZOFFSETFROM:-0500
1970TZOFFSETTO:-0400
1971END:DAYLIGHT
1972BEGIN:STANDARD
1973TZNAME:EST
1974DTSTART:19871025T020000
1975TZOFFSETFROM:-0400
1976TZOFFSETTO:-0500
1977END:STANDARD
1978BEGIN:DAYLIGHT
1979TZNAME:EDT
1980DTSTART:19880403T020000
1981TZOFFSETFROM:-0500
1982TZOFFSETTO:-0400
1983END:DAYLIGHT
1984BEGIN:STANDARD
1985TZNAME:EST
1986DTSTART:19881030T020000
1987TZOFFSETFROM:-0400
1988TZOFFSETTO:-0500
1989END:STANDARD
1990BEGIN:DAYLIGHT
1991TZNAME:EDT
1992DTSTART:19890402T020000
1993TZOFFSETFROM:-0500
1994TZOFFSETTO:-0400
1995END:DAYLIGHT
1996BEGIN:STANDARD
1997TZNAME:EST
1998DTSTART:19891029T020000
1999TZOFFSETFROM:-0400
2000TZOFFSETTO:-0500
2001END:STANDARD
2002BEGIN:DAYLIGHT
2003TZNAME:EDT
2004DTSTART:19900401T020000
2005TZOFFSETFROM:-0500
2006TZOFFSETTO:-0400
2007END:DAYLIGHT
2008BEGIN:STANDARD
2009TZNAME:EST
2010DTSTART:19901028T020000
2011TZOFFSETFROM:-0400
2012TZOFFSETTO:-0500
2013END:STANDARD
2014BEGIN:DAYLIGHT
2015TZNAME:EDT
2016DTSTART:19910407T020000
2017TZOFFSETFROM:-0500
2018TZOFFSETTO:-0400
2019END:DAYLIGHT
2020BEGIN:STANDARD
2021TZNAME:EST
2022DTSTART:19911027T020000
2023TZOFFSETFROM:-0400
2024TZOFFSETTO:-0500
2025END:STANDARD
2026BEGIN:DAYLIGHT
2027TZNAME:EDT
2028DTSTART:19920405T020000
2029TZOFFSETFROM:-0500
2030TZOFFSETTO:-0400
2031END:DAYLIGHT
2032BEGIN:STANDARD
2033TZNAME:EST
2034DTSTART:19921025T020000
2035TZOFFSETFROM:-0400
2036TZOFFSETTO:-0500
2037END:STANDARD
2038BEGIN:DAYLIGHT
2039TZNAME:EDT
2040DTSTART:19930404T020000
2041TZOFFSETFROM:-0500
2042TZOFFSETTO:-0400
2043END:DAYLIGHT
2044BEGIN:STANDARD
2045TZNAME:EST
2046DTSTART:19931031T020000
2047TZOFFSETFROM:-0400
2048TZOFFSETTO:-0500
2049END:STANDARD
2050BEGIN:DAYLIGHT
2051TZNAME:EDT
2052DTSTART:19940403T020000
2053TZOFFSETFROM:-0500
2054TZOFFSETTO:-0400
2055END:DAYLIGHT
2056BEGIN:STANDARD
2057TZNAME:EST
2058DTSTART:19941030T020000
2059TZOFFSETFROM:-0400
2060TZOFFSETTO:-0500
2061END:STANDARD
2062BEGIN:DAYLIGHT
2063TZNAME:EDT
2064DTSTART:19950402T020000
2065TZOFFSETFROM:-0500
2066TZOFFSETTO:-0400
2067END:DAYLIGHT
2068BEGIN:STANDARD
2069TZNAME:EST
2070DTSTART:19951029T020000
2071TZOFFSETFROM:-0400
2072TZOFFSETTO:-0500
2073END:STANDARD
2074BEGIN:DAYLIGHT
2075TZNAME:EDT
2076DTSTART:19960407T020000
2077TZOFFSETFROM:-0500
2078TZOFFSETTO:-0400
2079END:DAYLIGHT
2080BEGIN:STANDARD
2081TZNAME:EST
2082DTSTART:19961027T020000
2083TZOFFSETFROM:-0400
2084TZOFFSETTO:-0500
2085END:STANDARD
2086BEGIN:DAYLIGHT
2087TZNAME:EDT
2088DTSTART:19970406T020000
2089TZOFFSETFROM:-0500
2090TZOFFSETTO:-0400
2091END:DAYLIGHT
2092BEGIN:STANDARD
2093TZNAME:EST
2094DTSTART:19971026T020000
2095TZOFFSETFROM:-0400
2096TZOFFSETTO:-0500
2097END:STANDARD
2098BEGIN:DAYLIGHT
2099TZNAME:EDT
2100DTSTART:19980405T020000
2101TZOFFSETFROM:-0500
2102TZOFFSETTO:-0400
2103END:DAYLIGHT
2104BEGIN:STANDARD
2105TZNAME:EST
2106DTSTART:19981025T020000
2107TZOFFSETFROM:-0400
2108TZOFFSETTO:-0500
2109END:STANDARD
2110BEGIN:DAYLIGHT
2111TZNAME:EDT
2112DTSTART:19990404T020000
2113TZOFFSETFROM:-0500
2114TZOFFSETTO:-0400
2115END:DAYLIGHT
2116BEGIN:STANDARD
2117TZNAME:EST
2118DTSTART:19991031T020000
2119TZOFFSETFROM:-0400
2120TZOFFSETTO:-0500
2121END:STANDARD
2122BEGIN:DAYLIGHT
2123TZNAME:EDT
2124DTSTART:20000402T020000
2125TZOFFSETFROM:-0500
2126TZOFFSETTO:-0400
2127END:DAYLIGHT
2128BEGIN:STANDARD
2129TZNAME:EST
2130DTSTART:20001029T020000
2131TZOFFSETFROM:-0400
2132TZOFFSETTO:-0500
2133END:STANDARD
2134BEGIN:DAYLIGHT
2135TZNAME:EDT
2136DTSTART:20010401T020000
2137TZOFFSETFROM:-0500
2138TZOFFSETTO:-0400
2139END:DAYLIGHT
2140BEGIN:STANDARD
2141TZNAME:EST
2142DTSTART:20011028T020000
2143TZOFFSETFROM:-0400
2144TZOFFSETTO:-0500
2145END:STANDARD
2146BEGIN:DAYLIGHT
2147TZNAME:EDT
2148DTSTART:20020407T020000
2149TZOFFSETFROM:-0500
2150TZOFFSETTO:-0400
2151END:DAYLIGHT
2152BEGIN:STANDARD
2153TZNAME:EST
2154DTSTART:20021027T020000
2155TZOFFSETFROM:-0400
2156TZOFFSETTO:-0500
2157END:STANDARD
2158BEGIN:DAYLIGHT
2159TZNAME:EDT
2160DTSTART:20030406T020000
2161TZOFFSETFROM:-0500
2162TZOFFSETTO:-0400
2163END:DAYLIGHT
2164BEGIN:STANDARD
2165TZNAME:EST
2166DTSTART:20031026T020000
2167TZOFFSETFROM:-0400
2168TZOFFSETTO:-0500
2169END:STANDARD
2170BEGIN:DAYLIGHT
2171TZNAME:EDT
2172DTSTART:20040404T020000
2173TZOFFSETFROM:-0500
2174TZOFFSETTO:-0400
2175END:DAYLIGHT
2176BEGIN:STANDARD
2177TZNAME:EST
2178DTSTART:20041031T020000
2179TZOFFSETFROM:-0400
2180TZOFFSETTO:-0500
2181END:STANDARD
2182BEGIN:DAYLIGHT
2183TZNAME:EDT
2184DTSTART:20050403T020000
2185TZOFFSETFROM:-0500
2186TZOFFSETTO:-0400
2187END:DAYLIGHT
2188BEGIN:STANDARD
2189TZNAME:EST
2190DTSTART:20051030T020000
2191TZOFFSETFROM:-0400
2192TZOFFSETTO:-0500
2193END:STANDARD
2194BEGIN:DAYLIGHT
2195TZNAME:EDT
2196DTSTART:20060402T020000
2197TZOFFSETFROM:-0500
2198TZOFFSETTO:-0400
2199END:DAYLIGHT
2200BEGIN:STANDARD
2201TZNAME:EST
2202DTSTART:20061029T020000
2203TZOFFSETFROM:-0400
2204TZOFFSETTO:-0500
2205END:STANDARD
2206BEGIN:DAYLIGHT
2207TZNAME:EDT
2208DTSTART:20070311T020000
2209TZOFFSETFROM:-0500
2210TZOFFSETTO:-0400
2211END:DAYLIGHT
2212BEGIN:STANDARD
2213TZNAME:EST
2214DTSTART:20071104T020000
2215TZOFFSETFROM:-0400
2216TZOFFSETTO:-0500
2217END:STANDARD
2218BEGIN:DAYLIGHT
2219TZNAME:EDT
2220DTSTART:20080309T020000
2221TZOFFSETFROM:-0500
2222TZOFFSETTO:-0400
2223END:DAYLIGHT
2224BEGIN:STANDARD
2225TZNAME:EST
2226DTSTART:20081102T020000
2227TZOFFSETFROM:-0400
2228TZOFFSETTO:-0500
2229END:STANDARD
2230BEGIN:DAYLIGHT
2231TZNAME:EDT
2232DTSTART:20090308T020000
2233TZOFFSETFROM:-0500
2234TZOFFSETTO:-0400
2235END:DAYLIGHT
2236BEGIN:STANDARD
2237TZNAME:EST
2238DTSTART:20091101T020000
2239TZOFFSETFROM:-0400
2240TZOFFSETTO:-0500
2241END:STANDARD
2242BEGIN:DAYLIGHT
2243TZNAME:EDT
2244DTSTART:20100314T020000
2245TZOFFSETFROM:-0500
2246TZOFFSETTO:-0400
2247END:DAYLIGHT
2248BEGIN:STANDARD
2249TZNAME:EST
2250DTSTART:20101107T020000
2251TZOFFSETFROM:-0400
2252TZOFFSETTO:-0500
2253END:STANDARD
2254BEGIN:DAYLIGHT
2255TZNAME:EDT
2256DTSTART:20110313T020000
2257TZOFFSETFROM:-0500
2258TZOFFSETTO:-0400
2259END:DAYLIGHT
2260BEGIN:STANDARD
2261TZNAME:EST
2262DTSTART:20111106T020000
2263TZOFFSETFROM:-0400
2264TZOFFSETTO:-0500
2265END:STANDARD
2266BEGIN:DAYLIGHT
2267TZNAME:EDT
2268DTSTART:20120311T020000
2269TZOFFSETFROM:-0500
2270TZOFFSETTO:-0400
2271END:DAYLIGHT
2272BEGIN:STANDARD
2273TZNAME:EST
2274DTSTART:20121104T020000
2275TZOFFSETFROM:-0400
2276TZOFFSETTO:-0500
2277END:STANDARD
2278BEGIN:DAYLIGHT
2279TZNAME:EDT
2280DTSTART:20130310T020000
2281TZOFFSETFROM:-0500
2282TZOFFSETTO:-0400
2283END:DAYLIGHT
2284BEGIN:STANDARD
2285TZNAME:EST
2286DTSTART:20131103T020000
2287TZOFFSETFROM:-0400
2288TZOFFSETTO:-0500
2289END:STANDARD
2290BEGIN:DAYLIGHT
2291TZNAME:EDT
2292DTSTART:20140309T020000
2293TZOFFSETFROM:-0500
2294TZOFFSETTO:-0400
2295END:DAYLIGHT
2296BEGIN:STANDARD
2297TZNAME:EST
2298DTSTART:20141102T020000
2299TZOFFSETFROM:-0400
2300TZOFFSETTO:-0500
2301END:STANDARD
2302BEGIN:DAYLIGHT
2303TZNAME:EDT
2304DTSTART:20150308T020000
2305TZOFFSETFROM:-0500
2306TZOFFSETTO:-0400
2307END:DAYLIGHT
2308BEGIN:STANDARD
2309TZNAME:EST
2310DTSTART:20151101T020000
2311TZOFFSETFROM:-0400
2312TZOFFSETTO:-0500
2313END:STANDARD
2314BEGIN:DAYLIGHT
2315TZNAME:EDT
2316DTSTART:20160313T020000
2317TZOFFSETFROM:-0500
2318TZOFFSETTO:-0400
2319END:DAYLIGHT
2320BEGIN:STANDARD
2321TZNAME:EST
2322DTSTART:20161106T020000
2323TZOFFSETFROM:-0400
2324TZOFFSETTO:-0500
2325END:STANDARD
2326BEGIN:DAYLIGHT
2327TZNAME:EDT
2328DTSTART:20170312T020000
2329TZOFFSETFROM:-0500
2330TZOFFSETTO:-0400
2331END:DAYLIGHT
2332BEGIN:STANDARD
2333TZNAME:EST
2334DTSTART:20171105T020000
2335TZOFFSETFROM:-0400
2336TZOFFSETTO:-0500
2337END:STANDARD
2338BEGIN:DAYLIGHT
2339TZNAME:EDT
2340DTSTART:20180311T020000
2341TZOFFSETFROM:-0500
2342TZOFFSETTO:-0400
2343END:DAYLIGHT
2344BEGIN:STANDARD
2345TZNAME:EST
2346DTSTART:20181104T020000
2347TZOFFSETFROM:-0400
2348TZOFFSETTO:-0500
2349END:STANDARD
2350BEGIN:DAYLIGHT
2351TZNAME:EDT
2352DTSTART:20190310T020000
2353TZOFFSETFROM:-0500
2354TZOFFSETTO:-0400
2355END:DAYLIGHT
2356BEGIN:STANDARD
2357TZNAME:EST
2358DTSTART:20191103T020000
2359TZOFFSETFROM:-0400
2360TZOFFSETTO:-0500
2361END:STANDARD
2362BEGIN:DAYLIGHT
2363TZNAME:EDT
2364DTSTART:20200308T020000
2365TZOFFSETFROM:-0500
2366TZOFFSETTO:-0400
2367END:DAYLIGHT
2368BEGIN:STANDARD
2369TZNAME:EST
2370DTSTART:20201101T020000
2371TZOFFSETFROM:-0400
2372TZOFFSETTO:-0500
2373END:STANDARD
2374BEGIN:DAYLIGHT
2375TZNAME:EDT
2376DTSTART:20210314T020000
2377TZOFFSETFROM:-0500
2378TZOFFSETTO:-0400
2379END:DAYLIGHT
2380BEGIN:STANDARD
2381TZNAME:EST
2382DTSTART:20211107T020000
2383TZOFFSETFROM:-0400
2384TZOFFSETTO:-0500
2385END:STANDARD
2386BEGIN:DAYLIGHT
2387TZNAME:EDT
2388DTSTART:20220313T020000
2389TZOFFSETFROM:-0500
2390TZOFFSETTO:-0400
2391END:DAYLIGHT
2392BEGIN:STANDARD
2393TZNAME:EST
2394DTSTART:20221106T020000
2395TZOFFSETFROM:-0400
2396TZOFFSETTO:-0500
2397END:STANDARD
2398BEGIN:DAYLIGHT
2399TZNAME:EDT
2400DTSTART:20230312T020000
2401TZOFFSETFROM:-0500
2402TZOFFSETTO:-0400
2403END:DAYLIGHT
2404BEGIN:STANDARD
2405TZNAME:EST
2406DTSTART:20231105T020000
2407TZOFFSETFROM:-0400
2408TZOFFSETTO:-0500
2409END:STANDARD
2410BEGIN:DAYLIGHT
2411TZNAME:EDT
2412DTSTART:20240310T020000
2413TZOFFSETFROM:-0500
2414TZOFFSETTO:-0400
2415END:DAYLIGHT
2416BEGIN:STANDARD
2417TZNAME:EST
2418DTSTART:20241103T020000
2419TZOFFSETFROM:-0400
2420TZOFFSETTO:-0500
2421END:STANDARD
2422BEGIN:DAYLIGHT
2423TZNAME:EDT
2424DTSTART:20250309T020000
2425TZOFFSETFROM:-0500
2426TZOFFSETTO:-0400
2427END:DAYLIGHT
2428BEGIN:STANDARD
2429TZNAME:EST
2430DTSTART:20251102T020000
2431TZOFFSETFROM:-0400
2432TZOFFSETTO:-0500
2433END:STANDARD
2434BEGIN:DAYLIGHT
2435TZNAME:EDT
2436DTSTART:20260308T020000
2437TZOFFSETFROM:-0500
2438TZOFFSETTO:-0400
2439END:DAYLIGHT
2440BEGIN:STANDARD
2441TZNAME:EST
2442DTSTART:20261101T020000
2443TZOFFSETFROM:-0400
2444TZOFFSETTO:-0500
2445END:STANDARD
2446BEGIN:DAYLIGHT
2447TZNAME:EDT
2448DTSTART:20270314T020000
2449TZOFFSETFROM:-0500
2450TZOFFSETTO:-0400
2451END:DAYLIGHT
2452BEGIN:STANDARD
2453TZNAME:EST
2454DTSTART:20271107T020000
2455TZOFFSETFROM:-0400
2456TZOFFSETTO:-0500
2457END:STANDARD
2458BEGIN:DAYLIGHT
2459TZNAME:EDT
2460DTSTART:20280312T020000
2461TZOFFSETFROM:-0500
2462TZOFFSETTO:-0400
2463END:DAYLIGHT
2464BEGIN:STANDARD
2465TZNAME:EST
2466DTSTART:20281105T020000
2467TZOFFSETFROM:-0400
2468TZOFFSETTO:-0500
2469END:STANDARD
2470BEGIN:DAYLIGHT
2471TZNAME:EDT
2472DTSTART:20290311T020000
2473TZOFFSETFROM:-0500
2474TZOFFSETTO:-0400
2475END:DAYLIGHT
2476BEGIN:STANDARD
2477TZNAME:EST
2478DTSTART:20291104T020000
2479TZOFFSETFROM:-0400
2480TZOFFSETTO:-0500
2481END:STANDARD
2482BEGIN:DAYLIGHT
2483TZNAME:EDT
2484DTSTART:20300310T020000
2485TZOFFSETFROM:-0500
2486TZOFFSETTO:-0400
2487END:DAYLIGHT
2488BEGIN:STANDARD
2489TZNAME:EST
2490DTSTART:20301103T020000
2491TZOFFSETFROM:-0400
2492TZOFFSETTO:-0500
2493END:STANDARD
2494BEGIN:DAYLIGHT
2495TZNAME:EDT
2496DTSTART:20310309T020000
2497TZOFFSETFROM:-0500
2498TZOFFSETTO:-0400
2499END:DAYLIGHT
2500BEGIN:STANDARD
2501TZNAME:EST
2502DTSTART:20311102T020000
2503TZOFFSETFROM:-0400
2504TZOFFSETTO:-0500
2505END:STANDARD
2506BEGIN:DAYLIGHT
2507TZNAME:EDT
2508DTSTART:20320314T020000
2509TZOFFSETFROM:-0500
2510TZOFFSETTO:-0400
2511END:DAYLIGHT
2512BEGIN:STANDARD
2513TZNAME:EST
2514DTSTART:20321107T020000
2515TZOFFSETFROM:-0400
2516TZOFFSETTO:-0500
2517END:STANDARD
2518BEGIN:DAYLIGHT
2519TZNAME:EDT
2520DTSTART:20330313T020000
2521TZOFFSETFROM:-0500
2522TZOFFSETTO:-0400
2523END:DAYLIGHT
2524BEGIN:STANDARD
2525TZNAME:EST
2526DTSTART:20331106T020000
2527TZOFFSETFROM:-0400
2528TZOFFSETTO:-0500
2529END:STANDARD
2530BEGIN:DAYLIGHT
2531TZNAME:EDT
2532DTSTART:20340312T020000
2533TZOFFSETFROM:-0500
2534TZOFFSETTO:-0400
2535END:DAYLIGHT
2536BEGIN:STANDARD
2537TZNAME:EST
2538DTSTART:20341105T020000
2539TZOFFSETFROM:-0400
2540TZOFFSETTO:-0500
2541END:STANDARD
2542BEGIN:DAYLIGHT
2543TZNAME:EDT
2544DTSTART:20350311T020000
2545TZOFFSETFROM:-0500
2546TZOFFSETTO:-0400
2547END:DAYLIGHT
2548BEGIN:STANDARD
2549TZNAME:EST
2550DTSTART:20351104T020000
2551TZOFFSETFROM:-0400
2552TZOFFSETTO:-0500
2553END:STANDARD
2554BEGIN:DAYLIGHT
2555TZNAME:EDT
2556DTSTART:20360309T020000
2557TZOFFSETFROM:-0500
2558TZOFFSETTO:-0400
2559END:DAYLIGHT
2560BEGIN:STANDARD
2561TZNAME:EST
2562DTSTART:20361102T020000
2563TZOFFSETFROM:-0400
2564TZOFFSETTO:-0500
2565END:STANDARD
2566BEGIN:DAYLIGHT
2567TZNAME:EDT
2568DTSTART:20370308T020000
2569TZOFFSETFROM:-0500
2570TZOFFSETTO:-0400
2571END:DAYLIGHT
2572BEGIN:STANDARD
2573TZNAME:EST
2574DTSTART:20371101T020000
2575TZOFFSETFROM:-0400
2576TZOFFSETTO:-0500
2577END:STANDARD
2578END:VTIMEZONE
2579BEGIN:VEVENT
2580UID:20140813T212317Z-6646-1000-1221-23@evert-ubuntu
2581DTSTAMP:20140813T212221Z
2582DTSTART;TZID=/freeassociation.sourceforge.net/Tzfile/America/Toronto:201408
2583 13T180000
2584DTEND;TZID=/freeassociation.sourceforge.net/Tzfile/America/Toronto:20140813
2585 T200000
2586TRANSP:OPAQUE
2587SEQUENCE:4
2588SUMMARY:Testing evolution
2589LOCATION:Online
2590CLASS:PUBLIC
2591ORGANIZER:MAILTO:o@example.org
2592CREATED:20140813T212510Z
2593LAST-MODIFIED:20140813T212541Z
2594ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE;LANGUAGE=en:MAILTO:o@example.org
2595ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;LANGUAGE=en:MAILTO:a1@example.org
2596ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;LANGUAGE=en:MAILTO:a2@example.org
2597ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;LANGUAGE=en:MAILTO:a3@example.org
2598STATUS:CANCELLED
2599END:VEVENT
2600END:VCALENDAR
2601ICS;
2602
2603        $new = <<<ICS
2604BEGIN:VCALENDAR
2605VERSION:2.0
2606PRODID:-//Apple Inc.//Mac OS X 10.9.4//EN
2607CALSCALE:GREGORIAN
2608BEGIN:VTIMEZONE
2609TZID:America/Toronto
2610BEGIN:DAYLIGHT
2611TZOFFSETFROM:-0500
2612RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
2613DTSTART:20070311T020000
2614TZNAME:EDT
2615TZOFFSETTO:-0400
2616END:DAYLIGHT
2617BEGIN:STANDARD
2618TZOFFSETFROM:-0400
2619RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
2620DTSTART:20071104T020000
2621TZNAME:EST
2622TZOFFSETTO:-0500
2623END:STANDARD
2624END:VTIMEZONE
2625BEGIN:VEVENT
2626TRANSP:OPAQUE
2627DTEND;TZID=America/Toronto:20140813T200000
2628ORGANIZER:MAILTO:o@example.org
2629UID:20140813T212317Z-6646-1000-1221-23@evert-ubuntu
2630DTSTAMP:20140813T212221Z
2631LOCATION:Online
2632STATUS:CANCELLED
2633SEQUENCE:4
2634CLASS:PUBLIC
2635SUMMARY:Testing evolution
2636LAST-MODIFIED:20140813T212541Z
2637DTSTART;TZID=America/Toronto:20140813T180000
2638CREATED:20140813T212510Z
2639ATTENDEE;CUTYPE=INDIVIDUAL;LANGUAGE=en;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:a2@example.org
2640ATTENDEE;CUTYPE=INDIVIDUAL;LANGUAGE=en;PARTSTAT=ACCEPTED;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:o@example.org
2641ATTENDEE;CUTYPE=INDIVIDUAL;LANGUAGE=en;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:a1@example.org
2642ATTENDEE;CUTYPE=INDIVIDUAL;LANGUAGE=en;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:a3@example.org
2643END:VEVENT
2644END:VCALENDAR
2645ICS;
2646
2647        $this->parse($old, $new, array(), 'mailto:a1@example.org');
2648
2649
2650    }
2651
2652
2653}
2654