ScopeToTimeZone method
DateTime
ScopeToTimeZone(
- ExchangeServiceBase service,
- DateTime dateTime,
- PropertyBag propertyBag,
- bool isUpdateOperation,
Implementation
DateTime ScopeToTimeZone(ExchangeServiceBase service, DateTime dateTime,
PropertyBag propertyBag, bool isUpdateOperation) {
// todo : unsafe ScopeToTimeZone
print("!!! using unsafe ScopeToTimeZone");
return dateTime;
// try
// {
// DateTime convertedDateTime = EwsUtilities.ConvertTime(
// dateTime,
// service.TimeZone,
// TimeZoneInfo.Utc);
//
// return new DateTime(convertedDateTime.Ticks, DateTimeKind.Utc);
// }
// catch (TimeZoneConversionException e)
// {
// throw new PropertyException(
// string.Format(Strings.InvalidDateTime, dateTime),
// this.Name,
// e);
// }
}