public static void adaptTimezoneCalendarComponent(Calendar calendar) { // ios 7 doesn't send product id on create calendar method if (calendar.getProductId() == null) { calendar.getProperties().add(new ProdId("UNKNOWN_PRODID")); } }