tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

TimeZoneFormatter.h (6914B)


      1 #ifndef TimeZoneFormatter_H
      2 #define TimeZoneFormatter_H
      3 
      4 #include <stdio.h>
      5 #include <stdint.h>
      6 #include <stddef.h>
      7 #include <stdbool.h>
      8 #include "diplomat_runtime.h"
      9 
     10 #include "DataProvider.d.h"
     11 #include "DateTimeFormatterLoadError.d.h"
     12 #include "DateTimeWriteError.d.h"
     13 #include "Locale.d.h"
     14 #include "TimeZoneInfo.d.h"
     15 
     16 #include "TimeZoneFormatter.d.h"
     17 
     18 
     19 
     20 
     21 
     22 
     23 typedef struct icu4x_TimeZoneFormatter_create_specific_long_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_specific_long_mv1_result;
     24 icu4x_TimeZoneFormatter_create_specific_long_mv1_result icu4x_TimeZoneFormatter_create_specific_long_mv1(const Locale* locale);
     25 
     26 typedef struct icu4x_TimeZoneFormatter_create_specific_long_with_provider_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_specific_long_with_provider_mv1_result;
     27 icu4x_TimeZoneFormatter_create_specific_long_with_provider_mv1_result icu4x_TimeZoneFormatter_create_specific_long_with_provider_mv1(const DataProvider* provider, const Locale* locale);
     28 
     29 typedef struct icu4x_TimeZoneFormatter_create_specific_short_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_specific_short_mv1_result;
     30 icu4x_TimeZoneFormatter_create_specific_short_mv1_result icu4x_TimeZoneFormatter_create_specific_short_mv1(const Locale* locale);
     31 
     32 typedef struct icu4x_TimeZoneFormatter_create_specific_short_with_provider_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_specific_short_with_provider_mv1_result;
     33 icu4x_TimeZoneFormatter_create_specific_short_with_provider_mv1_result icu4x_TimeZoneFormatter_create_specific_short_with_provider_mv1(const DataProvider* provider, const Locale* locale);
     34 
     35 typedef struct icu4x_TimeZoneFormatter_create_localized_offset_long_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_localized_offset_long_mv1_result;
     36 icu4x_TimeZoneFormatter_create_localized_offset_long_mv1_result icu4x_TimeZoneFormatter_create_localized_offset_long_mv1(const Locale* locale);
     37 
     38 typedef struct icu4x_TimeZoneFormatter_create_localized_offset_long_with_provider_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_localized_offset_long_with_provider_mv1_result;
     39 icu4x_TimeZoneFormatter_create_localized_offset_long_with_provider_mv1_result icu4x_TimeZoneFormatter_create_localized_offset_long_with_provider_mv1(const DataProvider* provider, const Locale* locale);
     40 
     41 typedef struct icu4x_TimeZoneFormatter_create_localized_offset_short_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_localized_offset_short_mv1_result;
     42 icu4x_TimeZoneFormatter_create_localized_offset_short_mv1_result icu4x_TimeZoneFormatter_create_localized_offset_short_mv1(const Locale* locale);
     43 
     44 typedef struct icu4x_TimeZoneFormatter_create_localized_offset_short_with_provider_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_localized_offset_short_with_provider_mv1_result;
     45 icu4x_TimeZoneFormatter_create_localized_offset_short_with_provider_mv1_result icu4x_TimeZoneFormatter_create_localized_offset_short_with_provider_mv1(const DataProvider* provider, const Locale* locale);
     46 
     47 typedef struct icu4x_TimeZoneFormatter_create_generic_long_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_generic_long_mv1_result;
     48 icu4x_TimeZoneFormatter_create_generic_long_mv1_result icu4x_TimeZoneFormatter_create_generic_long_mv1(const Locale* locale);
     49 
     50 typedef struct icu4x_TimeZoneFormatter_create_generic_long_with_provider_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_generic_long_with_provider_mv1_result;
     51 icu4x_TimeZoneFormatter_create_generic_long_with_provider_mv1_result icu4x_TimeZoneFormatter_create_generic_long_with_provider_mv1(const DataProvider* provider, const Locale* locale);
     52 
     53 typedef struct icu4x_TimeZoneFormatter_create_generic_short_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_generic_short_mv1_result;
     54 icu4x_TimeZoneFormatter_create_generic_short_mv1_result icu4x_TimeZoneFormatter_create_generic_short_mv1(const Locale* locale);
     55 
     56 typedef struct icu4x_TimeZoneFormatter_create_generic_short_with_provider_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_generic_short_with_provider_mv1_result;
     57 icu4x_TimeZoneFormatter_create_generic_short_with_provider_mv1_result icu4x_TimeZoneFormatter_create_generic_short_with_provider_mv1(const DataProvider* provider, const Locale* locale);
     58 
     59 typedef struct icu4x_TimeZoneFormatter_create_location_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_location_mv1_result;
     60 icu4x_TimeZoneFormatter_create_location_mv1_result icu4x_TimeZoneFormatter_create_location_mv1(const Locale* locale);
     61 
     62 typedef struct icu4x_TimeZoneFormatter_create_location_with_provider_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_location_with_provider_mv1_result;
     63 icu4x_TimeZoneFormatter_create_location_with_provider_mv1_result icu4x_TimeZoneFormatter_create_location_with_provider_mv1(const DataProvider* provider, const Locale* locale);
     64 
     65 typedef struct icu4x_TimeZoneFormatter_create_exemplar_city_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_exemplar_city_mv1_result;
     66 icu4x_TimeZoneFormatter_create_exemplar_city_mv1_result icu4x_TimeZoneFormatter_create_exemplar_city_mv1(const Locale* locale);
     67 
     68 typedef struct icu4x_TimeZoneFormatter_create_exemplar_city_with_provider_mv1_result {union {TimeZoneFormatter* ok; DateTimeFormatterLoadError err;}; bool is_ok;} icu4x_TimeZoneFormatter_create_exemplar_city_with_provider_mv1_result;
     69 icu4x_TimeZoneFormatter_create_exemplar_city_with_provider_mv1_result icu4x_TimeZoneFormatter_create_exemplar_city_with_provider_mv1(const DataProvider* provider, const Locale* locale);
     70 
     71 typedef struct icu4x_TimeZoneFormatter_format_mv1_result {union { DateTimeWriteError err;}; bool is_ok;} icu4x_TimeZoneFormatter_format_mv1_result;
     72 icu4x_TimeZoneFormatter_format_mv1_result icu4x_TimeZoneFormatter_format_mv1(const TimeZoneFormatter* self, const TimeZoneInfo* zone, DiplomatWrite* write);
     73 
     74 void icu4x_TimeZoneFormatter_destroy_mv1(TimeZoneFormatter* self);
     75 
     76 
     77 
     78 
     79 
     80 #endif // TimeZoneFormatter_H