src/org/gege/caldavsyncadapter/android/entities/AndroidEvent.java

changeset 30
842945e5b782
parent 17
b9ad6f933bc9
equal deleted inserted replaced
3:c3d54511dd3d 7:2b4cf73d6faf
70 import org.gege.caldavsyncadapter.caldav.entities.CalendarEvent; 70 import org.gege.caldavsyncadapter.caldav.entities.CalendarEvent;
71 71
72 import java.net.URISyntaxException; 72 import java.net.URISyntaxException;
73 import java.text.ParseException; 73 import java.text.ParseException;
74 74
75 import static org.junit.Assert.*; 75 import static junit.framework.Assert.*;
76 76
77 //import android.accounts.Account; 77 //import android.accounts.Account;
78 //import android.content.ContentProviderClient; 78 //import android.content.ContentProviderClient;
79 //import android.content.ContentValues; 79 //import android.content.ContentValues;
80 //import android.content.SyncStats; 80 //import android.content.SyncStats;
317 * @see CalendarEvent#fetchBody() 317 * @see CalendarEvent#fetchBody()
318 */ 318 */
319 public boolean createIcs(String strUid) { 319 public boolean createIcs(String strUid) {
320 boolean Result = false; 320 boolean Result = false;
321 TimeZone timeZone = null; 321 TimeZone timeZone = null;
322 //if (obj == null) throw new AssertionError("Null object");
322 assertNotNull(Thread.currentThread().getContextClassLoader()); 323 assertNotNull(Thread.currentThread().getContextClassLoader());
323 TimeZoneRegistry registry = TimeZoneRegistryFactory.getInstance().createRegistry(); 324 TimeZoneRegistry registry = TimeZoneRegistryFactory.getInstance().createRegistry();
324 //TODO: do not simply create the ics-file new. take into account the RAWDATA if available 325 //TODO: do not simply create the ics-file new. take into account the RAWDATA if available
325 /* 326 /*
326 * dtstart=1365598800000 327 * dtstart=1365598800000

mercurial