1 // generated by fakerjsgenerator
2 ///
3 module faked.faker_fr_ca;
4 
5 import faked.base;
6 
7 
8 ///
9 class Faker_fr_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 		"1 ### ###-####",
26 		"### ###-####, poste ###"
27 		];
28 		return this.digitBuild(choice(data, this.rnd));
29 	}
30 
31 	///
32 	override string internetFreeEmail() {
33 		static enum data = [
34 		"gmail.com",
35 		"yahoo.ca",
36 		"hotmail.com"
37 		];
38 		return choice(data, this.rnd);
39 	}
40 
41 	///
42 	override string internetDomainSuffix() {
43 		static enum data = [
44 		"qc.ca",
45 		"ca",
46 		"com",
47 		"biz",
48 		"info",
49 		"name",
50 		"net",
51 		"org"
52 		];
53 		return choice(data, this.rnd);
54 	}
55 
56 	///
57 	override string addressStateAbbr() {
58 		static enum data = [
59 		"AB",
60 		"BC",
61 		"MB",
62 		"NB",
63 		"NL",
64 		"NS",
65 		"NU",
66 		"NT",
67 		"ON",
68 		"PE",
69 		"QC",
70 		"SK",
71 		"YK"
72 		];
73 		return choice(data, this.rnd);
74 	}
75 
76 	///
77 	override string addressState() {
78 		static enum data = [
79 		"Alberta",
80 		"Colombie-Britannique",
81 		"Manitoba",
82 		"Nouveau-Brunswick",
83 		"Terre-Neuve-et-Labrador",
84 		"Nouvelle-Écosse",
85 		"Territoires du Nord-Ouest",
86 		"Nunavut",
87 		"Ontario",
88 		"Île-du-Prince-Édouard",
89 		"Québec",
90 		"Saskatchewan",
91 		"Yukon"
92 		];
93 		return choice(data, this.rnd);
94 	}
95 
96 	///
97 	override string addressPostcode() {
98 		static enum data = [
99 		"A#? #?#",
100 		"B#? #?#",
101 		"C#? #?#",
102 		"E#? #?#",
103 		"G#? #?#",
104 		"H#? #?#",
105 		"J#? #?#",
106 		"K#? #?#",
107 		"L#? #?#",
108 		"M#? #?#",
109 		"N#? #?#",
110 		"P#? #?#",
111 		"R#? #?#",
112 		"S#? #?#",
113 		"T#? #?#",
114 		"V#? #?#",
115 		"X#? #?#",
116 		"Y#? #?#"
117 		];
118 		return choice(data, this.rnd);
119 	}
120 
121 	///
122 	override string addressDefaultCountry() {
123 		static enum data = [
124 		"Canada"
125 		];
126 		return choice(data, this.rnd);
127 	}
128 
129 }