[EWS] [Java] UTC times in meeting invites, cannot set TimeZoneDefinition RRS feed

  • Question

  • I'm creating appointments with attendees (aka meetings) and sending invitations.  However, the times listed in the text of the invitation are UTC and I can't figure out how to change it or suppress it:  

    When: Wednesday, July 08, 2015 3:00 PM-3:30 PM. UTC

    Where: 240 BC


    I've tried setting the time zone at the service level, but it doesn't help.

    new ExchangeService(ExchangeVersion.Exchange2010, TimeZone.getTimeZone("America/Chicago"))

    Then I tried setting the TimeZoneDefinition for the appointment with appointment.setStartTimeZone(timeZoneDefinition), but every single definition returns a "The time zone definition is invalid or unsupportederror.  (I called .validate() on every definition available on our server.)

    I am forced to use Java for this project, so TimeZoneInfo is sadly unavailable to me.  I am sending dates with the appropriate UTC offset when creating the appointments.

    Does anyone have any ideas on how I can get this fixed?  It's a serious issue for us since the times in the text of the invitation are incorrect.  If you know how to suppress that extra text in the invite, that would work too.  

    • Edited by rj_56 Tuesday, June 9, 2015 10:05 PM
    Tuesday, June 9, 2015 10:03 PM