WeekInformation.h (1270B)
1 #ifndef WeekInformation_H 2 #define WeekInformation_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 "DataError.d.h" 11 #include "DataProvider.d.h" 12 #include "Locale.d.h" 13 #include "Weekday.d.h" 14 #include "WeekdaySetIterator.d.h" 15 16 #include "WeekInformation.d.h" 17 18 19 20 21 22 23 typedef struct icu4x_WeekInformation_create_mv1_result {union {WeekInformation* ok; DataError err;}; bool is_ok;} icu4x_WeekInformation_create_mv1_result; 24 icu4x_WeekInformation_create_mv1_result icu4x_WeekInformation_create_mv1(const Locale* locale); 25 26 typedef struct icu4x_WeekInformation_create_with_provider_mv1_result {union {WeekInformation* ok; DataError err;}; bool is_ok;} icu4x_WeekInformation_create_with_provider_mv1_result; 27 icu4x_WeekInformation_create_with_provider_mv1_result icu4x_WeekInformation_create_with_provider_mv1(const DataProvider* provider, const Locale* locale); 28 29 Weekday icu4x_WeekInformation_first_weekday_mv1(const WeekInformation* self); 30 31 bool icu4x_WeekInformation_is_weekend_mv1(const WeekInformation* self, Weekday day); 32 33 WeekdaySetIterator* icu4x_WeekInformation_weekend_mv1(const WeekInformation* self); 34 35 void icu4x_WeekInformation_destroy_mv1(WeekInformation* self); 36 37 38 39 40 41 #endif // WeekInformation_H