* appdomain.c: Increment version number.
[mono.git] / mono / metadata / culture-info.h
1
2 #ifndef _MONO_METADATA_CULTURE_INFO_H_
3 #define _MONO_METADATA_CULTURE_INFO_H_ 1
4
5 #include <glib.h>
6
7 #define NUM_DAYS 7
8 #define NUM_MONTHS 13
9 #define GROUP_SIZE 5
10 #define NUM_OPT_CALS 5
11
12 typedef struct {
13         const gchar *full_date_time_pattern;
14         const gchar *long_date_pattern;
15         const gchar *short_date_pattern;
16         const gchar *long_time_pattern;
17         const gchar *short_time_pattern;
18         const gchar *year_month_pattern;
19         const gchar *month_day_pattern;
20
21         const gchar *am_designator;
22         const gchar *pm_designator;
23
24         const gchar *day_names [NUM_DAYS]; 
25         const gchar *abbreviated_day_names [NUM_DAYS];
26         const gchar *month_names [NUM_MONTHS];
27         const gchar *abbreviated_month_names [NUM_MONTHS];
28
29         gint calendar_week_rule;
30         gint first_day_of_week;
31
32         const gchar *date_separator;
33         const gchar *time_separator;    
34 } DateTimeFormatEntry;
35
36 typedef struct {
37         const gchar *currency_decimal_separator;
38         const gchar *currency_group_separator;
39         const gchar *percent_decimal_separator;
40         const gchar *percent_group_separator;
41         const gchar *number_decimal_separator;
42         const gchar *number_group_separator;
43
44         const gchar *currency_symbol;
45         const gchar *percent_symbol;
46         const gchar *nan_symbol;
47         const gchar *per_mille_symbol;
48         const gchar *negative_infinity_symbol;
49         const gchar *positive_infinity_symbol;
50
51         const gchar *negative_sign;
52         const gchar *positive_sign;
53
54         gint currency_negative_pattern;
55         gint currency_positive_pattern;
56         gint percent_negative_pattern;
57         gint percent_positive_pattern;
58         gint number_negative_pattern;
59
60         gint currency_decimal_digits;
61         gint percent_decimal_digits;
62         gint number_decimal_digits;
63
64         const gint currency_group_sizes [GROUP_SIZE];
65         const gint percent_group_sizes [GROUP_SIZE];
66         const gint number_group_sizes [GROUP_SIZE];     
67 } NumberFormatEntry;
68
69 typedef struct {
70         gint lcid;
71         gint parent_lcid;
72         gint specific_lcid;
73         const gchar *name;
74         const gchar *icu_name;
75         const gchar *englishname;
76         const gchar *displayname;
77         const gchar *nativename;
78         const gchar *win3lang;
79         const gchar *iso3lang;
80         const gchar *iso2lang;
81
82         gint calendar_data [NUM_OPT_CALS];
83
84         gint datetime_format_index;
85         gint number_format_index;
86 } CultureInfoEntry;
87
88 typedef struct {
89         const gchar *name;
90         gint culture_entry_index;
91 } CultureInfoNameEntry;
92
93 #endif
94