| // generated by diplomat-tool |
| // dart format off |
| |
| part of 'lib.g.dart'; |
| |
| /// See the [Rust documentation for `FixedCalendarDateTimeFormatter`](https://docs.rs/icu/2.0.0/icu/datetime/struct.FixedCalendarDateTimeFormatter.html) for more information. |
| final class ZonedDateFormatterGregorian 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. |
| ZonedDateFormatterGregorian._fromFfi(this._ffi, this._selfEdge) { |
| if (_selfEdge.isEmpty) { |
| _finalizer.attach(this, _ffi.cast()); |
| } |
| } |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_destroy_mv1') |
| static final _finalizer = ffi.NativeFinalizer(ffi.Native.addressOf(_icu4x_ZonedDateFormatterGregorian_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.0.0/icu/datetime/fieldsets/zone/struct.SpecificLong.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.specificLong(Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_create_specific_long_mv1(locale._ffi, formatter._ffi); |
| if (!result.isOk) { |
| throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err); |
| } |
| return ZonedDateFormatterGregorian._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.0.0/icu/datetime/fieldsets/zone/struct.SpecificLong.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.specificLongWithProvider(DataProvider provider, Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_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 ZonedDateFormatterGregorian._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.0.0/icu/datetime/fieldsets/zone/struct.SpecificShort.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.specificShort(Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_create_specific_short_mv1(locale._ffi, formatter._ffi); |
| if (!result.isOk) { |
| throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err); |
| } |
| return ZonedDateFormatterGregorian._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.0.0/icu/datetime/fieldsets/zone/struct.SpecificShort.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.specificShortWithProvider(DataProvider provider, Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_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 ZonedDateFormatterGregorian._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.0.0/icu/datetime/fieldsets/zone/struct.LocalizedOffsetLong.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.localizedOffsetLong(Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_create_localized_offset_long_mv1(locale._ffi, formatter._ffi); |
| if (!result.isOk) { |
| throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err); |
| } |
| return ZonedDateFormatterGregorian._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.0.0/icu/datetime/fieldsets/zone/struct.LocalizedOffsetLong.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.localizedOffsetLongWithProvider(DataProvider provider, Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_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 ZonedDateFormatterGregorian._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.0.0/icu/datetime/fieldsets/zone/struct.LocalizedOffsetShort.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.localizedOffsetShort(Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_create_localized_offset_short_mv1(locale._ffi, formatter._ffi); |
| if (!result.isOk) { |
| throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err); |
| } |
| return ZonedDateFormatterGregorian._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.0.0/icu/datetime/fieldsets/zone/struct.LocalizedOffsetShort.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.localizedOffsetShortWithProvider(DataProvider provider, Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_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 ZonedDateFormatterGregorian._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.0.0/icu/datetime/fieldsets/zone/struct.GenericLong.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.genericLong(Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_create_generic_long_mv1(locale._ffi, formatter._ffi); |
| if (!result.isOk) { |
| throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err); |
| } |
| return ZonedDateFormatterGregorian._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.0.0/icu/datetime/fieldsets/zone/struct.GenericLong.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.genericLongWithProvider(DataProvider provider, Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_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 ZonedDateFormatterGregorian._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.0.0/icu/datetime/fieldsets/zone/struct.GenericShort.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.genericShort(Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_create_generic_short_mv1(locale._ffi, formatter._ffi); |
| if (!result.isOk) { |
| throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err); |
| } |
| return ZonedDateFormatterGregorian._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.0.0/icu/datetime/fieldsets/zone/struct.GenericShort.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.genericShortWithProvider(DataProvider provider, Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_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 ZonedDateFormatterGregorian._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.0.0/icu/datetime/fieldsets/zone/struct.Location.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.location(Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_create_location_mv1(locale._ffi, formatter._ffi); |
| if (!result.isOk) { |
| throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err); |
| } |
| return ZonedDateFormatterGregorian._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.0.0/icu/datetime/fieldsets/zone/struct.Location.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.locationWithProvider(DataProvider provider, Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_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 ZonedDateFormatterGregorian._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.0.0/icu/datetime/fieldsets/zone/struct.ExemplarCity.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.exemplarCity(Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_create_exemplar_city_mv1(locale._ffi, formatter._ffi); |
| if (!result.isOk) { |
| throw DateTimeFormatterLoadError.values.firstWhere((v) => v._ffi == result.union.err); |
| } |
| return ZonedDateFormatterGregorian._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.0.0/icu/datetime/fieldsets/zone/struct.ExemplarCity.html) for more information. |
| /// |
| /// Throws [DateTimeFormatterLoadError] on failure. |
| factory ZonedDateFormatterGregorian.exemplarCityWithProvider(DataProvider provider, Locale locale, DateFormatterGregorian formatter) { |
| final result = _icu4x_ZonedDateFormatterGregorian_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 ZonedDateFormatterGregorian._fromFfi(result.union.ok, []); |
| } |
| |
| /// See the [Rust documentation for `format`](https://docs.rs/icu/2.0.0/icu/datetime/struct.FixedCalendarDateTimeFormatter.html#method.format) for more information. |
| /// |
| /// Throws [DateTimeWriteError] on failure. |
| String formatIso(IsoDate isoDate, TimeZoneInfo zone) { |
| final write = _Write(); |
| final result = _icu4x_ZonedDateFormatterGregorian_format_iso_mv1(_ffi, isoDate._ffi, zone._ffi, write._ffi); |
| if (!result.isOk) { |
| throw DateTimeWriteError.values[result.union.err]; |
| } |
| return write.finalize(); |
| } |
| |
| } |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_destroy_mv1') |
| @ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_destroy_mv1') |
| // ignore: non_constant_identifier_names |
| external void _icu4x_ZonedDateFormatterGregorian_destroy_mv1(ffi.Pointer<ffi.Void> self); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_specific_long_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_specific_long_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_specific_long_mv1(ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_specific_long_with_provider_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_specific_long_with_provider_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_specific_long_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_specific_short_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_specific_short_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_specific_short_mv1(ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_specific_short_with_provider_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_specific_short_with_provider_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_specific_short_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_localized_offset_long_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_localized_offset_long_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_localized_offset_long_mv1(ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_localized_offset_long_with_provider_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_localized_offset_long_with_provider_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_localized_offset_long_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_localized_offset_short_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_localized_offset_short_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_localized_offset_short_mv1(ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_localized_offset_short_with_provider_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_localized_offset_short_with_provider_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_localized_offset_short_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_generic_long_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_generic_long_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_generic_long_mv1(ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_generic_long_with_provider_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_generic_long_with_provider_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_generic_long_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_generic_short_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_generic_short_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_generic_short_mv1(ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_generic_short_with_provider_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_generic_short_with_provider_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_generic_short_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_location_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_location_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_location_mv1(ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_location_with_provider_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_location_with_provider_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_location_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_exemplar_city_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_exemplar_city_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_exemplar_city_mv1(ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_create_exemplar_city_with_provider_mv1') |
| @ffi.Native<_ResultOpaqueInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_create_exemplar_city_with_provider_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultOpaqueInt32 _icu4x_ZonedDateFormatterGregorian_create_exemplar_city_with_provider_mv1(ffi.Pointer<ffi.Opaque> provider, ffi.Pointer<ffi.Opaque> locale, ffi.Pointer<ffi.Opaque> formatter); |
| |
| @_DiplomatFfiUse('icu4x_ZonedDateFormatterGregorian_format_iso_mv1') |
| @ffi.Native<_ResultVoidInt32 Function(ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>, ffi.Pointer<ffi.Opaque>)>(isLeaf: true, symbol: 'icu4x_ZonedDateFormatterGregorian_format_iso_mv1') |
| // ignore: non_constant_identifier_names |
| external _ResultVoidInt32 _icu4x_ZonedDateFormatterGregorian_format_iso_mv1(ffi.Pointer<ffi.Opaque> self, ffi.Pointer<ffi.Opaque> isoDate, ffi.Pointer<ffi.Opaque> zone, ffi.Pointer<ffi.Opaque> write); |
| |
| // dart format on |