UtcOffset.h (1105B)
1 #ifndef UtcOffset_H 2 #define UtcOffset_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 11 #include "UtcOffset.d.h" 12 13 14 15 16 17 18 typedef struct icu4x_UtcOffset_from_seconds_mv1_result {union {UtcOffset* ok; }; bool is_ok;} icu4x_UtcOffset_from_seconds_mv1_result; 19 icu4x_UtcOffset_from_seconds_mv1_result icu4x_UtcOffset_from_seconds_mv1(int32_t seconds); 20 21 typedef struct icu4x_UtcOffset_from_string_mv1_result {union {UtcOffset* ok; }; bool is_ok;} icu4x_UtcOffset_from_string_mv1_result; 22 icu4x_UtcOffset_from_string_mv1_result icu4x_UtcOffset_from_string_mv1(DiplomatStringView offset); 23 24 int32_t icu4x_UtcOffset_seconds_mv1(const UtcOffset* self); 25 26 bool icu4x_UtcOffset_is_non_negative_mv1(const UtcOffset* self); 27 28 bool icu4x_UtcOffset_is_zero_mv1(const UtcOffset* self); 29 30 int32_t icu4x_UtcOffset_hours_part_mv1(const UtcOffset* self); 31 32 uint32_t icu4x_UtcOffset_minutes_part_mv1(const UtcOffset* self); 33 34 uint32_t icu4x_UtcOffset_seconds_part_mv1(const UtcOffset* self); 35 36 void icu4x_UtcOffset_destroy_mv1(UtcOffset* self); 37 38 39 40 41 42 #endif // UtcOffset_H