static public CompareCalendars ( IICalendar iCal1, IICalendar iCal2 ) : void | ||
iCal1 | IICalendar | |
iCal2 | IICalendar | |
리턴 | void |
private void CopyCalendarTest(string filename) { iCalendar iCal1 = iCalendar.LoadFromFile(@"Calendars\Serialization\" + filename); iCalendar iCal2 = iCal1.Copy(); SerializationTest.CompareCalendars(iCal1, iCal2); }
public void Merge2() { iCalendar iCal = new iCalendar(); IICalendar tmp_cal = iCalendar.LoadFromFile(@"Calendars\Serialization\TimeZone3.ics")[0]; iCal.MergeWith(tmp_cal); tmp_cal = iCalendar.LoadFromFile(@"Calendars\Serialization\TimeZone3.ics")[0]; // Compare the two calendars -- they should match exactly SerializationTest.CompareCalendars(iCal, tmp_cal); }
public void MERGE2() { iCalendar iCal = new iCalendar(); iCalendar tmp_cal = iCalendar.LoadFromFile(@"Calendars\General\MERGE2.ics"); iCal.MergeWith(tmp_cal); tmp_cal = iCalendar.LoadFromFile(@"Calendars\General\MERGE2.ics"); // Compare the two calendars -- they should match exactly SerializationTest.CompareCalendars(iCal, tmp_cal); }