|
| 1 | +namespace World.Net.Countries; |
| 2 | + |
| 3 | +internal sealed class Croatia : ICountry |
| 4 | +{ |
| 5 | + //<inheritdoc/> |
| 6 | + public CountryIdentifier Id => CountryIdentifier.Croatia; |
| 7 | + |
| 8 | + //<inheritdoc/> |
| 9 | + public string Name { get; } = "Croatia"; |
| 10 | + |
| 11 | + //<inheritdoc/> |
| 12 | + public string OfficialName { get; } = "Republic of Croatia"; |
| 13 | + |
| 14 | + //<inheritdoc/> |
| 15 | + public string NativeName => "Hrvatska"; |
| 16 | + |
| 17 | + //<inheritdoc/> |
| 18 | + public string Capital { get; } = "Zagreb"; |
| 19 | + |
| 20 | + //<inheritdoc/> |
| 21 | + public int NumericCode { get; } = 191; |
| 22 | + |
| 23 | + //<inheritdoc/> |
| 24 | + public string ISO2Code { get; } = "HR"; |
| 25 | + |
| 26 | + //<inheritdoc/> |
| 27 | + public string ISO3Code { get; } = "HRV"; |
| 28 | + |
| 29 | + //<inheritdoc/> |
| 30 | + public string CallingCode { get; } = "+385"; |
| 31 | + |
| 32 | + //<inheritdoc/> |
| 33 | + public IEnumerable<State> States => |
| 34 | + [ |
| 35 | + new("Bjelovar-Bilogora", "HR-07", "County"), |
| 36 | + new("Brod-Posavina", "HR-12", "County"), |
| 37 | + new("Dubrovnik-Neretva", "HR-19", "County"), |
| 38 | + new("Istria", "HR-18", "County"), |
| 39 | + new("Karlovac", "HR-04", "County"), |
| 40 | + new("Koprivnica-Križevci", "HR-06", "County"), |
| 41 | + new("Krapina-Zagorje", "HR-02", "County"), |
| 42 | + new("Lika-Senj", "HR-09", "County"), |
| 43 | + new("Međimurje", "HR-20", "County"), |
| 44 | + new("Osijek-Baranja", "HR-14", "County"), |
| 45 | + new("Požega-Slavonia", "HR-11", "County"), |
| 46 | + new("Primorje-Gorski Kotar", "HR-08", "County"), |
| 47 | + new("Šibenik-Knin", "HR-15", "County"), |
| 48 | + new("Sisak-Moslavina", "HR-03", "County"), |
| 49 | + new("Split-Dalmatia", "HR-17", "County"), |
| 50 | + new("Varaždin", "HR-05", "County"), |
| 51 | + new("Virovitica-Podravina", "HR-10", "County"), |
| 52 | + new("Vukovar-Syrmia", "HR-16", "County"), |
| 53 | + new("Zadar", "HR-13", "County"), |
| 54 | + new("Zagreb", "HR-21", "City"), |
| 55 | + new("Zagreb County", "HR-01", "County") |
| 56 | + ]; |
| 57 | +} |
0 commit comments