Ejemplo n.º 1
0
  private DtStart getStartDateProperty(Date startDate) {

    DateTime date = convertRaplaLocaleToUTC(startDate);
    TimeZoneRegistry registry = TimeZoneRegistryFactory.getInstance().createRegistry();
    net.fortuna.ical4j.model.TimeZone tz = registry.getTimeZone(timeZone.getID());
    date.setTimeZone(tz);
    return new DtStart(date);
  }