#ifndef DateFormatterGregorian_H
#define DateFormatterGregorian_H

#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include "diplomat_runtime.h"

#include "DataProvider.d.h"
#include "DateTimeAlignment.d.h"
#include "DateTimeFormatterLoadError.d.h"
#include "DateTimeLength.d.h"
#include "IsoDate.d.h"
#include "Locale.d.h"
#include "YearStyle.d.h"

#include "DateFormatterGregorian.d.h"






typedef struct icu4x_DateFormatterGregorian_create_d_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_d_mv1_result;
icu4x_DateFormatterGregorian_create_d_mv1_result icu4x_DateFormatterGregorian_create_d_mv1(const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment);

typedef struct icu4x_DateFormatterGregorian_create_d_with_provider_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_d_with_provider_mv1_result;
icu4x_DateFormatterGregorian_create_d_with_provider_mv1_result icu4x_DateFormatterGregorian_create_d_with_provider_mv1(const DataProvider* provider, const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment);

typedef struct icu4x_DateFormatterGregorian_create_md_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_md_mv1_result;
icu4x_DateFormatterGregorian_create_md_mv1_result icu4x_DateFormatterGregorian_create_md_mv1(const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment);

typedef struct icu4x_DateFormatterGregorian_create_md_with_provider_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_md_with_provider_mv1_result;
icu4x_DateFormatterGregorian_create_md_with_provider_mv1_result icu4x_DateFormatterGregorian_create_md_with_provider_mv1(const DataProvider* provider, const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment);

typedef struct icu4x_DateFormatterGregorian_create_ymd_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_ymd_mv1_result;
icu4x_DateFormatterGregorian_create_ymd_mv1_result icu4x_DateFormatterGregorian_create_ymd_mv1(const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment, YearStyle_option year_style);

typedef struct icu4x_DateFormatterGregorian_create_ymd_with_provider_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_ymd_with_provider_mv1_result;
icu4x_DateFormatterGregorian_create_ymd_with_provider_mv1_result icu4x_DateFormatterGregorian_create_ymd_with_provider_mv1(const DataProvider* provider, const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment, YearStyle_option year_style);

typedef struct icu4x_DateFormatterGregorian_create_de_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_de_mv1_result;
icu4x_DateFormatterGregorian_create_de_mv1_result icu4x_DateFormatterGregorian_create_de_mv1(const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment);

typedef struct icu4x_DateFormatterGregorian_create_de_with_provider_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_de_with_provider_mv1_result;
icu4x_DateFormatterGregorian_create_de_with_provider_mv1_result icu4x_DateFormatterGregorian_create_de_with_provider_mv1(const DataProvider* provider, const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment);

typedef struct icu4x_DateFormatterGregorian_create_mde_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_mde_mv1_result;
icu4x_DateFormatterGregorian_create_mde_mv1_result icu4x_DateFormatterGregorian_create_mde_mv1(const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment);

typedef struct icu4x_DateFormatterGregorian_create_mde_with_provider_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_mde_with_provider_mv1_result;
icu4x_DateFormatterGregorian_create_mde_with_provider_mv1_result icu4x_DateFormatterGregorian_create_mde_with_provider_mv1(const DataProvider* provider, const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment);

typedef struct icu4x_DateFormatterGregorian_create_ymde_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_ymde_mv1_result;
icu4x_DateFormatterGregorian_create_ymde_mv1_result icu4x_DateFormatterGregorian_create_ymde_mv1(const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment, YearStyle_option year_style);

typedef struct icu4x_DateFormatterGregorian_create_ymde_with_provider_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_ymde_with_provider_mv1_result;
icu4x_DateFormatterGregorian_create_ymde_with_provider_mv1_result icu4x_DateFormatterGregorian_create_ymde_with_provider_mv1(const DataProvider* provider, const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment, YearStyle_option year_style);

typedef struct icu4x_DateFormatterGregorian_create_e_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_e_mv1_result;
icu4x_DateFormatterGregorian_create_e_mv1_result icu4x_DateFormatterGregorian_create_e_mv1(const Locale* locale, DateTimeLength_option length);

typedef struct icu4x_DateFormatterGregorian_create_e_with_provider_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_e_with_provider_mv1_result;
icu4x_DateFormatterGregorian_create_e_with_provider_mv1_result icu4x_DateFormatterGregorian_create_e_with_provider_mv1(const DataProvider* provider, const Locale* locale, DateTimeLength_option length);

typedef struct icu4x_DateFormatterGregorian_create_m_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_m_mv1_result;
icu4x_DateFormatterGregorian_create_m_mv1_result icu4x_DateFormatterGregorian_create_m_mv1(const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment);

typedef struct icu4x_DateFormatterGregorian_create_m_with_provider_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_m_with_provider_mv1_result;
icu4x_DateFormatterGregorian_create_m_with_provider_mv1_result icu4x_DateFormatterGregorian_create_m_with_provider_mv1(const DataProvider* provider, const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment);

typedef struct icu4x_DateFormatterGregorian_create_ym_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_ym_mv1_result;
icu4x_DateFormatterGregorian_create_ym_mv1_result icu4x_DateFormatterGregorian_create_ym_mv1(const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment, YearStyle_option year_style);

typedef struct icu4x_DateFormatterGregorian_create_ym_with_provider_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_ym_with_provider_mv1_result;
icu4x_DateFormatterGregorian_create_ym_with_provider_mv1_result icu4x_DateFormatterGregorian_create_ym_with_provider_mv1(const DataProvider* provider, const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment, YearStyle_option year_style);

typedef struct icu4x_DateFormatterGregorian_create_y_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_y_mv1_result;
icu4x_DateFormatterGregorian_create_y_mv1_result icu4x_DateFormatterGregorian_create_y_mv1(const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment, YearStyle_option year_style);

typedef struct icu4x_DateFormatterGregorian_create_y_with_provider_mv1_result {union {DateFormatterGregorian* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_DateFormatterGregorian_create_y_with_provider_mv1_result;
icu4x_DateFormatterGregorian_create_y_with_provider_mv1_result icu4x_DateFormatterGregorian_create_y_with_provider_mv1(const DataProvider* provider, const Locale* locale, DateTimeLength_option length, DateTimeAlignment_option alignment, YearStyle_option year_style);

void icu4x_DateFormatterGregorian_format_iso_mv1(const DateFormatterGregorian* self, const IsoDate* iso_date, DiplomatWrite* write);

void icu4x_DateFormatterGregorian_destroy_mv1(DateFormatterGregorian* self);





#endif // DateFormatterGregorian_H
