1 // generated by fakerjsgenerator
2 ///
3 module faked.faker_en_ca;
4 
5 import faked.base;
6 
7 
8 ///
9 class Faker_en_ca : 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 		"!##-!##-####",
25 		"(!##)!##-####",
26 		"!##.!##.####",
27 		"1-!##-###-####",
28 		"!##-!##-#### x###",
29 		"(!##)!##-#### x###",
30 		"1-!##-!##-#### x###",
31 		"!##.!##.#### x###",
32 		"!##-!##-#### x####",
33 		"(!##)!##-#### x####",
34 		"1-!##-!##-#### x####",
35 		"!##.!##.#### x####",
36 		"!##-!##-#### x#####",
37 		"(!##)!##-#### x#####",
38 		"1-!##-!##-#### x#####",
39 		"!##.!##.#### x#####"
40 		];
41 		return this.digitBuild(choice(data, this.rnd));
42 	}
43 
44 	///
45 	override string internetFreeEmail() {
46 		static enum data = [
47 		"gmail.com",
48 		"yahoo.ca",
49 		"hotmail.com"
50 		];
51 		return choice(data, this.rnd);
52 	}
53 
54 	///
55 	override string internetDomainSuffix() {
56 		static enum data = [
57 		"ca",
58 		"com",
59 		"biz",
60 		"info",
61 		"name",
62 		"net",
63 		"org"
64 		];
65 		return choice(data, this.rnd);
66 	}
67 
68 	///
69 	override string addressStateAbbr() {
70 		static enum data = [
71 		"AB",
72 		"BC",
73 		"MB",
74 		"NB",
75 		"NL",
76 		"NS",
77 		"NU",
78 		"NT",
79 		"ON",
80 		"PE",
81 		"QC",
82 		"SK",
83 		"YT"
84 		];
85 		return choice(data, this.rnd);
86 	}
87 
88 	///
89 	override string addressState() {
90 		static enum data = [
91 		"Alberta",
92 		"British Columbia",
93 		"Manitoba",
94 		"New Brunswick",
95 		"Newfoundland and Labrador",
96 		"Nova Scotia",
97 		"Northwest Territories",
98 		"Nunavut",
99 		"Ontario",
100 		"Prince Edward Island",
101 		"Quebec",
102 		"Saskatchewan",
103 		"Yukon"
104 		];
105 		return choice(data, this.rnd);
106 	}
107 
108 	///
109 	override string addressPostcode() {
110 		static enum data = [
111 		"A#? #?#",
112 		"B#? #?#",
113 		"C#? #?#",
114 		"E#? #?#",
115 		"G#? #?#",
116 		"H#? #?#",
117 		"J#? #?#",
118 		"K#? #?#",
119 		"L#? #?#",
120 		"M#? #?#",
121 		"N#? #?#",
122 		"P#? #?#",
123 		"R#? #?#",
124 		"S#? #?#",
125 		"T#? #?#",
126 		"V#? #?#",
127 		"X#? #?#",
128 		"Y#? #?#"
129 		];
130 		return choice(data, this.rnd);
131 	}
132 
133 	///
134 	override string addressDefaultCountry() {
135 		static enum data = [
136 		"Canada"
137 		];
138 		return choice(data, this.rnd);
139 	}
140 
141 }