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

part of 'lib.g.dart';

/// See the [Rust documentation for `DateTimeFormatter`](https://docs.rs/icu/2.2.0/icu/datetime/struct.DateTimeFormatter.html) for more information.
final class ZonedDateFormatter 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.
  ZonedDateFormatter._fromFfi(this._ffi, this._selfEdge) {
    if (_selfEdge.isEmpty) {
      _icu4x_ZonedDateFormatter_destroy_mv1(this, _ffi.cast());
    }
  }

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

  static final _finalizer = ffi.NativeFinalizer(ffi.Native.addressOf(_internal_icu4x_ZonedDateFormatter_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 ZonedDateFormatter.specificLong(Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_specific_long_mv1(locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._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 ZonedDateFormatter.specificLongWithProvider(DataProvider provider, Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_specific_long_with_provider_mv1(provider._ffi, locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._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 ZonedDateFormatter.specificShort(Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_specific_short_mv1(locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._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 ZonedDateFormatter.specificShortWithProvider(DataProvider provider, Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_specific_short_with_provider_mv1(provider._ffi, locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._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 ZonedDateFormatter.localizedOffsetLong(Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_localized_offset_long_mv1(locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._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 ZonedDateFormatter.localizedOffsetLongWithProvider(DataProvider provider, Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_localized_offset_long_with_provider_mv1(provider._ffi, locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._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 ZonedDateFormatter.localizedOffsetShort(Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_localized_offset_short_mv1(locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._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 ZonedDateFormatter.localizedOffsetShortWithProvider(DataProvider provider, Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_localized_offset_short_with_provider_mv1(provider._ffi, locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._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 ZonedDateFormatter.genericLong(Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_generic_long_mv1(locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._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 ZonedDateFormatter.genericLongWithProvider(DataProvider provider, Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_generic_long_with_provider_mv1(provider._ffi, locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._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 ZonedDateFormatter.genericShort(Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_generic_short_mv1(locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._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 ZonedDateFormatter.genericShortWithProvider(DataProvider provider, Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_generic_short_with_provider_mv1(provider._ffi, locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._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 ZonedDateFormatter.location(Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_location_mv1(locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._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 ZonedDateFormatter.locationWithProvider(DataProvider provider, Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_location_with_provider_mv1(provider._ffi, locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._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 ZonedDateFormatter.exemplarCity(Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_exemplar_city_mv1(locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._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 ZonedDateFormatter.exemplarCityWithProvider(DataProvider provider, Locale locale, DateFormatter formatter) {
    final result = _icu4x_ZonedDateFormatter_create_exemplar_city_with_provider_mv1(provider._ffi, locale._ffi, formatter._ffi);
    if (!result.isOk) {
      throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err);
    }
    return ZonedDateFormatter._fromFfi(result.union.ok, []);
  }

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

  /// See the [Rust documentation for `format_same_calendar`](https://docs.rs/icu/2.2.0/icu/datetime/struct.DateTimeFormatter.html#method.format_same_calendar) for more information.
  ///
  /// Throws [DateTimeMismatchedCalendarError] on failure.
  String formatSameCalendar(Date date, TimeZoneInfo zone) {
    final write = _Write();
    final result = _icu4x_ZonedDateFormatter_format_same_calendar_mv1(_ffi, date._ffi, zone._ffi, write._ffi);
    if (!result.isOk) {
      throw DateTimeMismatchedCalendarError._fromFfi(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_ZonedDateFormatter_destroy_mv1')
// ignore: non_constant_identifier_names
external void _internal_icu4x_ZonedDateFormatter_destroy_mv1(ffi.Pointer<ffi.Void> self);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// dart format on
