#ifndef GregorianDateTimeFormatter_H #define GregorianDateTimeFormatter_H #include #include #include #include #include "diplomat_runtime.h" #include "DataProvider.d.h" #include "DateTimeFormatterLoadError.d.h" #include "DateTimeLength.d.h" #include "IsoDateTime.d.h" #include "Locale.d.h" #include "GregorianDateTimeFormatter.d.h" typedef struct icu4x_GregorianDateTimeFormatter_create_with_length_mv1_result {union {GregorianDateTimeFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_GregorianDateTimeFormatter_create_with_length_mv1_result; icu4x_GregorianDateTimeFormatter_create_with_length_mv1_result icu4x_GregorianDateTimeFormatter_create_with_length_mv1(const DataProvider* provider, const Locale* locale, DateTimeLength length); void icu4x_GregorianDateTimeFormatter_format_iso_datetime_mv1(const GregorianDateTimeFormatter* self, const IsoDateTime* value, DiplomatWrite* write); void icu4x_GregorianDateTimeFormatter_destroy_mv1(GregorianDateTimeFormatter* self); #endif // GregorianDateTimeFormatter_H