diff options
Diffstat (limited to 'intl/icu_capi/c/include/ICU4XTimeZoneFormatter.h')
-rw-r--r-- | intl/icu_capi/c/include/ICU4XTimeZoneFormatter.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/intl/icu_capi/c/include/ICU4XTimeZoneFormatter.h b/intl/icu_capi/c/include/ICU4XTimeZoneFormatter.h new file mode 100644 index 0000000000..5eb1299543 --- /dev/null +++ b/intl/icu_capi/c/include/ICU4XTimeZoneFormatter.h @@ -0,0 +1,53 @@ +#ifndef ICU4XTimeZoneFormatter_H +#define ICU4XTimeZoneFormatter_H +#include <stdio.h> +#include <stdint.h> +#include <stddef.h> +#include <stdbool.h> +#include "diplomat_runtime.h" + +#ifdef __cplusplus +namespace capi { +#endif + +typedef struct ICU4XTimeZoneFormatter ICU4XTimeZoneFormatter; +#ifdef __cplusplus +} // namespace capi +#endif +#include "ICU4XDataProvider.h" +#include "ICU4XLocale.h" +#include "diplomat_result_box_ICU4XTimeZoneFormatter_ICU4XError.h" +#include "ICU4XIsoTimeZoneOptions.h" +#include "diplomat_result_void_ICU4XError.h" +#include "ICU4XCustomTimeZone.h" +#ifdef __cplusplus +namespace capi { +extern "C" { +#endif + +diplomat_result_box_ICU4XTimeZoneFormatter_ICU4XError ICU4XTimeZoneFormatter_create_with_localized_gmt_fallback(const ICU4XDataProvider* provider, const ICU4XLocale* locale); + +diplomat_result_box_ICU4XTimeZoneFormatter_ICU4XError ICU4XTimeZoneFormatter_create_with_iso_8601_fallback(const ICU4XDataProvider* provider, const ICU4XLocale* locale, ICU4XIsoTimeZoneOptions options); + +diplomat_result_void_ICU4XError ICU4XTimeZoneFormatter_load_generic_non_location_long(ICU4XTimeZoneFormatter* self, const ICU4XDataProvider* provider); + +diplomat_result_void_ICU4XError ICU4XTimeZoneFormatter_load_generic_non_location_short(ICU4XTimeZoneFormatter* self, const ICU4XDataProvider* provider); + +diplomat_result_void_ICU4XError ICU4XTimeZoneFormatter_load_specific_non_location_long(ICU4XTimeZoneFormatter* self, const ICU4XDataProvider* provider); + +diplomat_result_void_ICU4XError ICU4XTimeZoneFormatter_load_specific_non_location_short(ICU4XTimeZoneFormatter* self, const ICU4XDataProvider* provider); + +diplomat_result_void_ICU4XError ICU4XTimeZoneFormatter_load_generic_location_format(ICU4XTimeZoneFormatter* self, const ICU4XDataProvider* provider); + +diplomat_result_void_ICU4XError ICU4XTimeZoneFormatter_include_localized_gmt_format(ICU4XTimeZoneFormatter* self); + +diplomat_result_void_ICU4XError ICU4XTimeZoneFormatter_load_iso_8601_format(ICU4XTimeZoneFormatter* self, ICU4XIsoTimeZoneOptions options); + +diplomat_result_void_ICU4XError ICU4XTimeZoneFormatter_format_custom_time_zone(const ICU4XTimeZoneFormatter* self, const ICU4XCustomTimeZone* value, DiplomatWriteable* write); +void ICU4XTimeZoneFormatter_destroy(ICU4XTimeZoneFormatter* self); + +#ifdef __cplusplus +} // extern "C" +} // namespace capi +#endif +#endif |