Created
December 24, 2008 23:46
-
-
Save nogweii/39815 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct date date; | |
static struct djswitch { | |
const char *cc; /* Country code according to ISO 3166 */ | |
const char *nm; /* Name of country */ | |
date dt; /* Last day of Julian calendar */ | |
} switches[] = { | |
{"AL", "Albania", {1912, 11, 30}}, | |
{"AT", "Austria", {1583, 10, 5}}, | |
{"AU", "Australia", {1752, 9, 2}}, | |
{"BE", "Belgium", {1582, 12, 14}}, | |
{"BG", "Bulgaria", {1916, 3, 18}}, | |
..... | |
}; | |
struct djswitch *dftswitch = | |
switches + sizeof(switches) / sizeof(struct djswitch) - 2; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment