1 // generated by fakerjsgenerator 2 /// 3 module faked.faker_en_ie; 4 5 import faked.base; 6 7 8 /// 9 class Faker_en_ie : Faker { 10 @safe: 11 import std.random; 12 import std.array; 13 import std.format; 14 import std.conv : to; 15 16 /// 17 this(int seed) { 18 super(seed); 19 } 20 21 /// 22 override string phoneNumberFormats() { 23 static enum data = [ 24 "01 #######", 25 "021 #######", 26 "022 #######", 27 "023 #######", 28 "024 #######", 29 "025 #######", 30 "026 #######", 31 "027 #######", 32 "028 #######", 33 "029 #######", 34 "0402 #######", 35 "0404 #######", 36 "041 #######", 37 "042 #######", 38 "043 #######", 39 "044 #######", 40 "045 #######", 41 "046 #######", 42 "047 #######", 43 "049 #######", 44 "0504 #######", 45 "0505 #######", 46 "051 #######", 47 "052 #######", 48 "053 #######", 49 "056 #######", 50 "057 #######", 51 "058 #######", 52 "059 #######", 53 "061 #######", 54 "062 #######", 55 "063 #######", 56 "064 #######", 57 "065 #######", 58 "066 #######", 59 "067 #######", 60 "068 #######", 61 "069 #######", 62 "071 #######", 63 "074 #######", 64 "090 #######", 65 "091 #######", 66 "093 #######", 67 "094 #######", 68 "095 #######", 69 "096 #######", 70 "097 #######", 71 "098 #######", 72 "099 #######" 73 ]; 74 return this.digitBuild(choice(data, this.rnd)); 75 } 76 77 /// 78 override string cellPhoneFormats() { 79 static enum data = [ 80 "082 ### ####", 81 "083 ### ####", 82 "085 ### ####", 83 "086 ### ####", 84 "087 ### ####", 85 "089 ### ####" 86 ]; 87 return this.digitBuild(choice(data, this.rnd)); 88 } 89 90 /// 91 override string internetDomainSuffix() { 92 static enum data = [ 93 "ie", 94 "com", 95 "net", 96 "info", 97 "eu" 98 ]; 99 return choice(data, this.rnd); 100 } 101 102 /// 103 override string addressDefaultCountry() { 104 static enum data = [ 105 "Ireland" 106 ]; 107 return choice(data, this.rnd); 108 } 109 110 /// 111 override string addressCounty() { 112 static enum data = [ 113 "Carlow", 114 "Cavan", 115 "Clare", 116 "Cork", 117 "Donegal", 118 "Dublin", 119 "Galway", 120 "Kerry", 121 "Kildare", 122 "Kilkenny", 123 "Laois", 124 "Leitrim", 125 "Limerick", 126 "Longford", 127 "Louth", 128 "Mayo", 129 "Meath", 130 "Monaghan", 131 "Offaly", 132 "Roscommon", 133 "Sligo", 134 "Tipperary", 135 "Waterford", 136 "Westmeath", 137 "Wexford", 138 "Wicklow" 139 ]; 140 return choice(data, this.rnd); 141 } 142 143 }