| 1 |
#ifndef ICU4XZonedDateTimeFormatter_H |
| 2 |
#define ICU4XZonedDateTimeFormatter_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 ICU4XZonedDateTimeFormatter ICU4XZonedDateTimeFormatter; |
| 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_ICU4XZonedDateTimeFormatter_ICU4XError.h" |
| 22 |
#include "ICU4XIsoTimeZoneOptions.h" |
| 23 |
#include "ICU4XDateTime.h" |
| 24 |
#include "ICU4XCustomTimeZone.h" |
| 25 |
#include "diplomat_result_void_ICU4XError.h" |
| 26 |
#include "ICU4XIsoDateTime.h" |
| 27 |
#ifdef __cplusplus |
| 28 |
namespace capi { |
| 29 |
extern "C" { |
| 30 |
#endif |
| 31 |
|
| 32 |
diplomat_result_box_ICU4XZonedDateTimeFormatter_ICU4XError ICU4XZonedDateTimeFormatter_create_with_lengths(const ICU4XDataProvider* provider, const ICU4XLocale* locale, ICU4XDateLength date_length, ICU4XTimeLength time_length); |
| 33 |
|
| 34 |
diplomat_result_box_ICU4XZonedDateTimeFormatter_ICU4XError ICU4XZonedDateTimeFormatter_create_with_lengths_and_iso_8601_time_zone_fallback(const ICU4XDataProvider* provider, const ICU4XLocale* locale, ICU4XDateLength date_length, ICU4XTimeLength time_length, ICU4XIsoTimeZoneOptions zone_options); |
| 35 |
|
| 36 |
diplomat_result_void_ICU4XError ICU4XZonedDateTimeFormatter_format_datetime_with_custom_time_zone(const ICU4XZonedDateTimeFormatter* self, const ICU4XDateTime* datetime, const ICU4XCustomTimeZone* time_zone, DiplomatWriteable* write); |
| 37 |
|
| 38 |
diplomat_result_void_ICU4XError ICU4XZonedDateTimeFormatter_format_iso_datetime_with_custom_time_zone(const ICU4XZonedDateTimeFormatter* self, const ICU4XIsoDateTime* datetime, const ICU4XCustomTimeZone* time_zone, DiplomatWriteable* write); |
| 39 |
void ICU4XZonedDateTimeFormatter_destroy(ICU4XZonedDateTimeFormatter* self); |
| 40 |
|
| 41 |
#ifdef __cplusplus |
| 42 |
} // extern "C" |
| 43 |
} // namespace capi |
| 44 |
#endif |
| 45 |
#endif |