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

branch
ICAL4J_EMBED_1
changeset 27
eb2016286407
parent 22
e8c0da59391a
child 32
40e965b10350
equal deleted inserted replaced
5:04a4482c97a2 6:9c525a5a712e
322 boolean Result = false; 322 boolean Result = false;
323 TimeZone timeZone = null; 323 TimeZone timeZone = null;
324 // Hack to bootstrap a multithreaded class loader context 324 // Hack to bootstrap a multithreaded class loader context
325 if (Thread.currentThread().getContextClassLoader() == null) 325 if (Thread.currentThread().getContextClassLoader() == null)
326 Thread.currentThread().setContextClassLoader(Appctxpro.getContext().getClassLoader()); 326 Thread.currentThread().setContextClassLoader(Appctxpro.getContext().getClassLoader());
327 TimeZoneRegistry registry = TimeZoneRegistryFactory.getInstance(); 327 TimeZoneRegistry registry = TimeZoneRegistryFactory.getInstance().createRegistry();
328 assertNotNull(registry); 328 assertNotNull(registry);
329 registry.createRegistry();
330 //TODO: do not simply create the ics-file new. take into account the RAWDATA if available 329 //TODO: do not simply create the ics-file new. take into account the RAWDATA if available
331 /* 330 /*
332 * dtstart=1365598800000 331 * dtstart=1365598800000
333 * dtend=1365602400000 332 * dtend=1365602400000
334 * eventTimezone=Europe/Berlin 333 * eventTimezone=Europe/Berlin

mercurial