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 activationFactoryPtr =
      CreateActivationFactory(_className, IID_ICalendarFactory2);
  final object = ICalendarFactory2.fromRawPointer(activationFactoryPtr);

  try {
    return object.createCalendarWithTimeZone(
        languages, calendar, clock, timeZoneId);
  } finally {
    object.release();
  }
}