@@ -196,6 +196,19 @@ var formats = map[string]Format{
196
196
Layout : "%1\n %2\n %3\n %L, %R" ,
197
197
Required : []Field {FieldLine1 , FieldLocality },
198
198
RegionType : RegionTypeIsland ,
199
+ Regions : NewRegionMap (
200
+ "AK" , "Acklins" , "BY" , "Berry Islands" , "BI" , "Bimini" ,
201
+ "BP" , "Black Point" , "CI" , "Cat Island" , "CO" , "Central Abaco" ,
202
+ "CS" , "Central Andros" , "CE" , "Central Eleuthera" , "FP" , "City of Freeport" ,
203
+ "CK" , "Crooked Island and Long Cay" , "EG" , "East Grand Bahama" , "EX" , "Exuma" ,
204
+ "GC" , "Grand Cay" , "HI" , "Harbour Island" , "HT" , "Hope Town" ,
205
+ "IN" , "Inagua" , "LI" , "Long Island" , "MC" , "Mangrove Cay" ,
206
+ "MG" , "Mayaguana" , "MI" , "Moore's Island" , "NP" , "New Providence" ,
207
+ "NO" , "North Abaco" , "NS" , "North Andros" , "NE" , "North Eleuthera" ,
208
+ "RI" , "Ragged Island" , "RC" , "Rum Cay" , "SS" , "San Salvador" ,
209
+ "SO" , "South Abaco" , "SA" , "South Andros" , "SE" , "South Eleuthera" ,
210
+ "SW" , "Spanish Wells" , "WG" , "West Grand Bahama" ,
211
+ ),
199
212
},
200
213
"BT" : {
201
214
Layout : "%1\n %2\n %3\n %L %P" ,
@@ -311,6 +324,11 @@ var formats = map[string]Format{
311
324
Layout : "%1\n %2\n %3\n %R, %L\n %P" ,
312
325
Required : []Field {FieldLine1 , FieldLocality , FieldRegion },
313
326
PostalCodePattern : "\\ d{4,5}|\\ d{3}-\\ d{4}" ,
327
+ Regions : NewRegionMap (
328
+ "A" , "Alajuela" , "C" , "Cartago" , "G" , "Guanacaste" ,
329
+ "H" , "Heredia" , "L" , "Limón" , "P" , "Puntarenas" ,
330
+ "SJ" , "San José" ,
331
+ ),
314
332
},
315
333
"CU" : {
316
334
Layout : "%1\n %2\n %3\n %L %R\n %P" ,
@@ -1151,6 +1169,13 @@ var formats = map[string]Format{
1151
1169
"PA" : {
1152
1170
Layout : "%1\n %2\n %3\n %L\n %R" ,
1153
1171
Required : []Field {FieldLine1 , FieldLocality },
1172
+ Regions : NewRegionMap (
1173
+ "1" , "Bocas del Toro" , "4" , "Chiriquí" , "2" , "Coclé" ,
1174
+ "3" , "Colón" , "5" , "Darién" , "EM" , "Emberá" ,
1175
+ "KY" , "Guna Yala" , "6" , "Herrera" , "7" , "Los Santos" ,
1176
+ "NT" , "Naso Tjër Di" , "NB" , "Ngäbe-Buglé" , "8" , "Panamá" ,
1177
+ "10" , "Panamá Oeste" , "9" , "Veraguas" ,
1178
+ ),
1154
1179
},
1155
1180
"PE" : {
1156
1181
Layout : "%1\n %2\n %3\n %L %P\n %R" ,
@@ -1179,6 +1204,16 @@ var formats = map[string]Format{
1179
1204
Layout : "%1\n %2\n %3\n %L %P %R" ,
1180
1205
Required : []Field {FieldLine1 , FieldLocality , FieldRegion },
1181
1206
PostalCodePattern : "\\ d{3}" ,
1207
+ Regions : NewRegionMap (
1208
+ "NSB" , "Bougainville" , "CPM" , "Central" , "CPK" , "Chimbu" ,
1209
+ "EBR" , "East New Britain" , "ESW" , "East Sepik" , "EHG" , "Eastern Highlands" ,
1210
+ "EPW" , "Enga" , "GPK" , "Gulf" , "HLA" , "Hela" ,
1211
+ "JWK" , "Jiwaka" , "MPM" , "Madang" , "MRL" , "Manus" ,
1212
+ "MBA" , "Milne Bay" , "MPL" , "Morobe" , "NCD" , "National Capital District (Port Moresby)" ,
1213
+ "NIK" , "New Ireland" , "NPP" , "Northern" , "SHM" , "Southern Highlands" ,
1214
+ "WBK" , "West New Britain" , "SAN" , "West Sepik" , "WPD" , "Western" ,
1215
+ "WHM" , "Western Highlands" ,
1216
+ ),
1182
1217
},
1183
1218
"PH" : {
1184
1219
Layout : "%1\n %2\n %3\n %S, %L\n %P %R" ,
@@ -1640,6 +1675,11 @@ var formats = map[string]Format{
1640
1675
RegionType : RegionTypeState ,
1641
1676
PostalCodeType : PostalCodeTypeZip ,
1642
1677
PostalCodePattern : "96898" ,
1678
+ Regions : NewRegionMap (
1679
+ "81" , "Baker Island" , "84" , "Howland Island" , "86" , "Jarvis Island" ,
1680
+ "67" , "Johnston Atoll" , "89" , "Kingman Reef" , "71" , "Midway Islands" ,
1681
+ "76" , "Navassa Island" , "95" , "Palmyra Atoll" , "79" , "Wake Island" ,
1682
+ ),
1643
1683
},
1644
1684
"US" : {
1645
1685
Layout : "%1\n %2\n %3\n %L, %R %P" ,
0 commit comments