ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
IsoWeekOfYear.d.hpp
Go to the documentation of this file.
1#ifndef ICU4X_IsoWeekOfYear_D_HPP
2#define ICU4X_IsoWeekOfYear_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 <cstdlib>
12#include "diplomat_runtime.hpp"
13
14
15namespace icu4x {
16namespace capi {
17 struct IsoWeekOfYear {
18 uint8_t week_number;
19 int32_t iso_year;
20 };
21
22 typedef struct IsoWeekOfYear_option {union { IsoWeekOfYear ok; }; bool is_ok; } IsoWeekOfYear_option;
23} // namespace capi
24} // namespace
25
26
27namespace icu4x {
32 uint8_t week_number;
33 int32_t iso_year;
34
35 inline icu4x::capi::IsoWeekOfYear AsFFI() const;
36 inline static icu4x::IsoWeekOfYear FromFFI(icu4x::capi::IsoWeekOfYear c_struct);
37};
38
39} // namespace
40#endif // ICU4X_IsoWeekOfYear_D_HPP
Definition Bidi.d.hpp:13
Definition IsoWeekOfYear.d.hpp:31
uint8_t week_number
Definition IsoWeekOfYear.d.hpp:32
int32_t iso_year
Definition IsoWeekOfYear.d.hpp:33