| 1 |
#ifndef ICU4XGregorianZonedDateTimeFormatter_H |
| 2 |
#define ICU4XGregorianZonedDateTimeFormatter_H |
| 3 |
#include <stdio.h> |
| 4 |
#include <stdint.h> |
| 5 |
#include <stddef.h> |
| 6 |
#include <stdbool.h> |
| 7 |
#include "diplomat_runtime.h" |
| 8 |
|
| 9 |
#ifdef __cplusplus |
| 10 |
namespace capi { |
| 11 |
#endif |
| 12 |
|
| 13 |
typedef struct ICU4XGregorianZonedDateTimeFormatter ICU4XGregorianZonedDateTimeFormatter; |
| 14 |
#ifdef __cplusplus |
| 15 |
} // namespace capi |
| 16 |
#endif |
| 17 |
#include "ICU4XDataProvider.h" |
| 18 |
#include "ICU4XLocale.h" |
| 19 |
#include "ICU4XDateLength.h" |
| 20 |
#include "ICU4XTimeLength.h" |
| 21 |
#include "diplomat_result_box_ICU4XGregorianZonedDateTimeFormatter_ICU4XError.h" |
| 22 |
#include "ICU4XIsoTimeZoneOptions.h" |
| 23 |
#include "ICU4XIsoDateTime.h" |
| 24 |
#include "ICU4XCustomTimeZone.h" |
| 25 |
#include "diplomat_result_void_ICU4XError.h" |
| 26 |
#ifdef __cplusplus |
| 27 |
namespace capi { |
| 28 |
extern "C" { |
| 29 |
#endif |
| 30 |
|
| 31 |
diplomat_result_box_ICU4XGregorianZonedDateTimeFormatter_ICU4XError ICU4XGregorianZonedDateTimeFormatter_create_with_lengths(const ICU4XDataProvider* provider, const ICU4XLocale* locale, ICU4XDateLength date_length, ICU4XTimeLength time_length); |
| 32 |
|
| 33 |
diplomat_result_box_ICU4XGregorianZonedDateTimeFormatter_ICU4XError ICU4XGregorianZonedDateTimeFormatter_create_with_lengths_and_iso_8601_time_zone_fallback(const ICU4XDataProvider* provider, const ICU4XLocale* locale, ICU4XDateLength date_length, ICU4XTimeLength time_length, ICU4XIsoTimeZoneOptions zone_options); |
| 34 |
|
| 35 |
diplomat_result_void_ICU4XError ICU4XGregorianZonedDateTimeFormatter_format_iso_datetime_with_custom_time_zone(const ICU4XGregorianZonedDateTimeFormatter* self, const ICU4XIsoDateTime* datetime, const ICU4XCustomTimeZone* time_zone, DiplomatWriteable* write); |
| 36 |
void ICU4XGregorianZonedDateTimeFormatter_destroy(ICU4XGregorianZonedDateTimeFormatter* self); |
| 37 |
|
| 38 |
#ifdef __cplusplus |
| 39 |
} // extern "C" |
| 40 |
} // namespace capi |
| 41 |
#endif |
| 42 |
#endif |