#ifndef ICU4X_CalendarError_D_HPP
#define ICU4X_CalendarError_D_HPP
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <memory>
#include <functional>
#include <optional>
#include <cstdlib>
#include "diplomat_runtime.hpp"
namespace icu4x {
namespace capi {
enum CalendarError {
CalendarError_Unknown =
0 ,
CalendarError_OutOfRange =
1 ,
CalendarError_UnknownEra =
2 ,
CalendarError_UnknownMonthCode =
3 ,
};
typedef struct CalendarError_option {
union { CalendarError ok; };
bool is_ok; } CalendarErr
or_option;
} // namespace capi
} // namespace
namespace icu4x {
/**
* Additional information : [ 1 ] ( https : //docs.rs/icu/2.1.1/icu/calendar/struct.RangeError.html), [2](https://docs.rs/icu/2.1.1/icu/calendar/enum.DateError.html)
*/
class CalendarError {
public:
enum Value {
Unknown = 0 ,
OutOfRange = 1 ,
UnknownEra = 2 ,
UnknownMonthCode = 3 ,
};
CalendarError(): value(Value::Unknown) {}
// Implicit conversions between enum and ::Value
constexpr CalendarError(Value v) : value(v) {}
constexpr operator Value() const { return value; }
// Prevent usage as boolean value
explicit operator bool () const = delete ;
inline icu4x::capi::CalendarError AsFFI() const ;
inline static icu4x::CalendarError FromFFI(icu4x::capi::CalendarError c_enum);
private :
Value value;
};
} // namespace
#endif // ICU4X_CalendarError_D_HPP
Messung V0.5 in Prozent C=83 H=100 G=91
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet am 2026-08-25)
¤
*© Formatika GbR, Deutschland