createCalendarWithTimeZone static method

Calendar createCalendarWithTimeZone(
  1. IIterable<String> languages,
  2. String calendar,
  3. String clock,
  4. String timeZoneId,
)

Implementation

static Calendar createCalendarWithTimeZone(IIterable<String> languages,
    String calendar, String clock, String timeZoneId) {
  final activationFactory =
      CreateActivationFactory(_className, IID_ICalendarFactory2);

  try {
    return ICalendarFactory2.fromRawPointer(activationFactory)
        .createCalendarWithTimeZone(languages, calendar, clock, timeZoneId);
  } finally {
    free(activationFactory);
  }
}