I am using EWS Managed API 1.1.3 with java and exchange 2010. I live in the United States Pacific Time Zone. Every time I schedule a meeting it tries to convert my time to pacific time, subtracting the time I give it by 8 hours! I want it just to take my time as pacific time and not touch it.
First I tried to set the time zone in the constructor of my service object:
s = new ExchangeService(ExchangeVersion.Exchange2010, TimeZone.getTimeZone("America/Los_Angeles"));
This didn't do anything for some reason.
Then I tried setting the start time zone:
mtg.setStartTimeZone(new TimeZoneDefinition(){{setId("America/Los_Angeles");}});
And I got an error saying unrecognized time zone.
Can somebody please help me with this? It's urgent!!!