• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef DateTimeFormatError_D_H
2 #define DateTimeFormatError_D_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 
12 
13 
14 typedef enum DateTimeFormatError {
15   DateTimeFormatError_Unknown = 0,
16   DateTimeFormatError_MissingInputField = 1,
17   DateTimeFormatError_ZoneInfoMissingFields = 2,
18   DateTimeFormatError_InvalidEra = 3,
19   DateTimeFormatError_InvalidMonthCode = 4,
20   DateTimeFormatError_InvalidCyclicYear = 5,
21   DateTimeFormatError_NamesNotLoaded = 16,
22   DateTimeFormatError_DecimalFormatterNotLoaded = 17,
23   DateTimeFormatError_UnsupportedField = 18,
24 } DateTimeFormatError;
25 
26 typedef struct DateTimeFormatError_option {union { DateTimeFormatError ok; }; bool is_ok; } DateTimeFormatError_option;
27 
28 
29 
30 #endif // DateTimeFormatError_D_H
31