// generated by diplomat-tool
// dart format off

part of 'lib.g.dart';

/// See the [Rust documentation for `NoCalendarFormatter`](https://docs.rs/icu/2.2.0/icu/datetime/type.NoCalendarFormatter.html) for more information.
final class TimeZoneFormatter implements ffi.Finalizable {
  final ffi.Pointer<ffi.Opaque> _ffi;

  // These are "used" in the sense that they keep dependencies alive
  // ignore: unused_field
  final core.List<Object> _selfEdge;

  // This takes in a list of lifetime edges (including for &self borrows)
  // corresponding to data this may borrow from. These should be flat arrays containing
  // references to objects, and this object will hold on to them to keep them alive and
  // maintain borrow validity.
  TimeZoneFormatter._fromFfi(this._ffi, this._selfEdge) {
    if (_selfEdge.isEmpty) {
      _icu4x_TimeZoneFormatter_destroy_mv1(this, _ffi.cast());
    }
  }

  // ignore: experimental_member_use
  @meta.RecordUse()
  // ignore: non_constant_identifier_names
  static void _icu4x_TimeZoneFormatter_destroy_mv1(TimeZoneFormatter cl, ffi.Pointer<ffi.Void> pointer) => _finalizer.attach(cl, pointer);

  static final _finalizer = ffi.NativeFinalizer(ffi.Native.addressOf(_internal_icu4x_TimeZoneFormatter_destroy_mv1));

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `SpecificLong`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.SpecificLong.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.specificLong(Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_specific_long_mv1(locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `SpecificLong`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.SpecificLong.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.specificLongWithProvider(DataProvider provider, Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_specific_long_with_provider_mv1(provider._ffi, locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `SpecificShort`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.SpecificShort.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.specificShort(Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_specific_short_mv1(locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `SpecificShort`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.SpecificShort.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.specificShortWithProvider(DataProvider provider, Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_specific_short_with_provider_mv1(provider._ffi, locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `LocalizedOffsetLong`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.LocalizedOffsetLong.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.localizedOffsetLong(Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_localized_offset_long_mv1(locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `LocalizedOffsetLong`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.LocalizedOffsetLong.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.localizedOffsetLongWithProvider(DataProvider provider, Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_localized_offset_long_with_provider_mv1(provider._ffi, locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `LocalizedOffsetShort`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.LocalizedOffsetShort.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.localizedOffsetShort(Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_localized_offset_short_mv1(locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `LocalizedOffsetShort`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.LocalizedOffsetShort.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.localizedOffsetShortWithProvider(DataProvider provider, Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_localized_offset_short_with_provider_mv1(provider._ffi, locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `GenericLong`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.GenericLong.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.genericLong(Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_generic_long_mv1(locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `GenericLong`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.GenericLong.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.genericLongWithProvider(DataProvider provider, Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_generic_long_with_provider_mv1(provider._ffi, locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `GenericShort`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.GenericShort.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.genericShort(Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_generic_short_mv1(locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `GenericShort`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.GenericShort.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.genericShortWithProvider(DataProvider provider, Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_generic_short_with_provider_mv1(provider._ffi, locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `Location`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.Location.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.location(Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_location_mv1(locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `Location`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.Location.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.locationWithProvider(DataProvider provider, Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_location_with_provider_mv1(provider._ffi, locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `ExemplarCity`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.ExemplarCity.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.exemplarCity(Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_exemplar_city_mv1(locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// Creates a zoned formatter based on a non-zoned formatter.
  ///
  /// Caution: The locale provided here must match the locale used to construct the non-zoned formatter,
  /// or else unexpected behavior may occur!
  ///
  /// See the [Rust documentation for `ExemplarCity`](https://docs.rs/icu/2.2.0/icu/datetime/fieldsets/zone/struct.ExemplarCity.html) for more information.
  ///
  /// Throws [DateTimeFormatterLoadError] on failure.
  factory TimeZoneFormatter.exemplarCityWithProvider(DataProvider provider, Locale locale) {
    final result = _icu4x_TimeZoneFormatter_create_exemplar_city_with_provider_mv1(provider._ffi, locale._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return TimeZoneFormatter._fromFfi(result.union.ok, []);
  }

  /// See the [Rust documentation for `format`](https://docs.rs/icu/2.2.0/icu/datetime/struct.FixedCalendarDateTimeFormatter.html#method.format) for more information.
  ///
  /// Throws [DateTimeWriteError] on failure.
  String format(TimeZoneInfo zone) {
    final write = _Write();
    final result = _icu4x_TimeZoneFormatter_format_mv1(_ffi, zone._ffi, write._ffi);
    if (!result.isOk) {
      throw DateTimeWriteError.values[result.union.err];
    }
    return write.finalize();
  }

}

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_destroy_mv1')
// ignore: non_constant_identifier_names
external void _internal_icu4x_TimeZoneFormatter_destroy_mv1(ffi.Pointer<ffi.Void> self);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_specific_long_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_specific_long_mv1(ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_specific_long_with_provider_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_specific_long_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_specific_short_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_specific_short_mv1(ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_specific_short_with_provider_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_specific_short_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_localized_offset_long_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_localized_offset_long_mv1(ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_localized_offset_long_with_provider_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_localized_offset_long_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_localized_offset_short_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_localized_offset_short_mv1(ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_localized_offset_short_with_provider_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_localized_offset_short_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_generic_long_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_generic_long_mv1(ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_generic_long_with_provider_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_generic_long_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_generic_short_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_generic_short_mv1(ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_generic_short_with_provider_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_generic_short_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_location_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_location_mv1(ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_location_with_provider_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_location_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_exemplar_city_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_exemplar_city_mv1(ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_create_exemplar_city_with_provider_mv1')
// ignore: non_constant_identifier_names
external _ResultOpaqueInt32 _icu4x_TimeZoneFormatter_create_exemplar_city_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale);

// ignore: experimental_member_use
@meta.RecordUse()
@ffi.Native<_ResultVoidInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_TimeZoneFormatter_format_mv1')
// ignore: non_constant_identifier_names
external _ResultVoidInt32 _icu4x_TimeZoneFormatter_format_mv1(ffi.Pointer<ffi.Opaque> self, ffi.Pointer<ffi.Opaque> zone, ffi.Pointer<ffi.Opaque> write);

// dart format on
