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 |