ZonedDateTime.h (1829B)
1 #ifndef ZonedDateTime_H 2 #define ZonedDateTime_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 "Calendar.d.h" 11 #include "IanaParser.d.h" 12 #include "Rfc9557ParseError.d.h" 13 #include "VariantOffsetsCalculator.d.h" 14 15 #include "ZonedDateTime.d.h" 16 17 18 19 20 21 22 typedef struct icu4x_ZonedDateTime_full_from_string_mv1_result {union {ZonedDateTime ok; Rfc9557ParseError err;}; bool is_ok;} icu4x_ZonedDateTime_full_from_string_mv1_result; 23 icu4x_ZonedDateTime_full_from_string_mv1_result icu4x_ZonedDateTime_full_from_string_mv1(DiplomatStringView v, const Calendar* calendar, const IanaParser* iana_parser, const VariantOffsetsCalculator* offset_calculator); 24 25 typedef struct icu4x_ZonedDateTime_location_only_from_string_mv1_result {union {ZonedDateTime ok; Rfc9557ParseError err;}; bool is_ok;} icu4x_ZonedDateTime_location_only_from_string_mv1_result; 26 icu4x_ZonedDateTime_location_only_from_string_mv1_result icu4x_ZonedDateTime_location_only_from_string_mv1(DiplomatStringView v, const Calendar* calendar, const IanaParser* iana_parser); 27 28 typedef struct icu4x_ZonedDateTime_offset_only_from_string_mv1_result {union {ZonedDateTime ok; Rfc9557ParseError err;}; bool is_ok;} icu4x_ZonedDateTime_offset_only_from_string_mv1_result; 29 icu4x_ZonedDateTime_offset_only_from_string_mv1_result icu4x_ZonedDateTime_offset_only_from_string_mv1(DiplomatStringView v, const Calendar* calendar); 30 31 typedef struct icu4x_ZonedDateTime_lenient_from_string_mv1_result {union {ZonedDateTime ok; Rfc9557ParseError err;}; bool is_ok;} icu4x_ZonedDateTime_lenient_from_string_mv1_result; 32 icu4x_ZonedDateTime_lenient_from_string_mv1_result icu4x_ZonedDateTime_lenient_from_string_mv1(DiplomatStringView v, const Calendar* calendar, const IanaParser* iana_parser); 33 34 35 36 37 38 #endif // ZonedDateTime_H