• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef icu4x_WeekendContainsDay_D_HPP
2 #define icu4x_WeekendContainsDay_D_HPP
3 
4 #include <stdio.h>
5 #include <stdint.h>
6 #include <stddef.h>
7 #include <stdbool.h>
8 #include <memory>
9 #include <functional>
10 #include <optional>
11 #include "../diplomat_runtime.hpp"
12 
13 
14 namespace icu4x {
15 namespace capi {
16     struct WeekendContainsDay {
17       bool monday;
18       bool tuesday;
19       bool wednesday;
20       bool thursday;
21       bool friday;
22       bool saturday;
23       bool sunday;
24     };
25 
26     typedef struct WeekendContainsDay_option {union { WeekendContainsDay ok; }; bool is_ok; } WeekendContainsDay_option;
27 } // namespace capi
28 } // namespace
29 
30 
31 namespace icu4x {
32 struct WeekendContainsDay {
33   bool monday;
34   bool tuesday;
35   bool wednesday;
36   bool thursday;
37   bool friday;
38   bool saturday;
39   bool sunday;
40 
41   inline icu4x::capi::WeekendContainsDay AsFFI() const;
42   inline static icu4x::WeekendContainsDay FromFFI(icu4x::capi::WeekendContainsDay c_struct);
43 };
44 
45 } // namespace
46 #endif // icu4x_WeekendContainsDay_D_HPP
47