public NewJersey() : base("NJ") { var dl = new Rchar[15]; dl[0] = new RcharUAlpha(0); Array.Copy(Numerics(14, 1), 0, dl, 1, 14); dlFormats = new[] { new DriversLicense(dl, this) }; }
public NewYork() : base("NY") { var dl = new Rchar[15];//actual length is 16 but last digit is check-digit dl[0] = new RcharUAlpha(0); Array.Copy(Numerics(14, 1), 0, dl, 1, 14); dlFormats = new[] { new DriversLicense(dl, this) }; }
public Wisconsin() : base("WI") { var dl = new Rchar[13]; dl[0] = new RcharUAlpha(0); Array.Copy(Numerics(12, 1), 0, dl, 1, 12); dlFormats = new[] { new DriversLicense(dl, this) }; }
public California() : base("CA") { var dl = new Rchar[8]; dl[0] = new RcharUAlpha(0); Array.Copy(Numerics(7, 1), 0, dl, 1, 7); dlFormats = new[] { new DriversLicense(dl, this) }; }
public Illinois() : base("IL") { var dl = new Rchar[12]; dl[0] = new RcharUAlpha(0); Array.Copy(Numerics(11, 1), 0, dl, 1, 11); dlFormats = new[] { new DriversLicense(dl, this) }; }
public DistrictOfColumbia() : base("DC") { var dl = new Rchar[10]; dl[0] = new RcharUAlpha(0); dl[1] = new RcharUAlpha(1); Array.Copy(Numerics(8, 2), 0, dl, 2, 8); dlFormats = new[] { new DriversLicense(dl, this) }; }
public Virginia() : base("VA") { var dl = new Rchar[9]; dl[0] = new RcharUAlpha(0); Array.Copy(Numerics(8, 1), 0, dl, 1, 8); dlFormats = new[] { new DriversLicense(dl, this), new DriversLicense(Numerics(12), this) }; }
public Kansas() : base("KS") { var dl = new Rchar[9]; dl[0] = new RcharUAlpha(0); Array.Copy(Numerics(8, 1), 0, dl, 1, 8); dlFormats = new[] { new DriversLicense(dl, this) }; }
public Indiana() : base("IN") { var dl = new Rchar[10]; dl[0] = new RcharUAlpha(0); Array.Copy(Numerics(9, 1), 0, dl, 1, 9); dlFormats = new[] { new DriversLicense(dl, this), new DriversLicense(Numerics(10), this) }; }
public Ohio() : base("OH") { var dl = new Rchar[9]; dl[0] = new RcharUAlpha(0); dl[1] = new RcharUAlpha(1); Array.Copy(Numerics(7, 2), 0, dl, 2, 7); dlFormats = new[] { new DriversLicense(dl, this) }; }
public Montana() : base("MT") { var dl = new Rchar[9]; dl[0] = new RcharUAlpha(0); dl[1] = new RcharNumeric(1); dl[2] = new RcharAlphaNumeric(2); Array.Copy(Numerics(6, 3), 0, dl, 3, 6); dlFormats = new[] { new DriversLicense(dl, this) }; }
public Nebraska() : base("NE") { AgeOfMajority = 19; var dl = new Rchar[9]; dl[0] = new RcharUAlpha(0); Array.Copy(Numerics(8, 1), 0, dl, 1, 8); dlFormats = new[] { new DriversLicense(dl, this) }; }
public Colorado() : base("CO") { var dl = new Rchar[8]; dl[0] = new RcharUAlpha(0); dl[1] = new RcharUAlpha(1); Array.Copy(Numerics(6, 2), 0, dl, 2, 6); dlFormats = new[] { new DriversLicense(dl, this), new DriversLicense(Numerics(9), this) }; }
public NorthDakota() : base("ND") { var dl = new Rchar[9]; dl[0] = new RcharUAlpha(0); dl[1] = new RcharUAlpha(1); dl[2] = new RcharUAlpha(2); Array.Copy(Numerics(6, 3), 0, dl, 3, 6); dlFormats = new[] { new DriversLicense(dl, this), new DriversLicense(Numerics(9), this) }; }
public Michigan() : base("MI") { var dl = new Rchar[13]; dl[0] = new RcharUAlpha(0); dl[1] = new RcharLimited(1, '1', '2', '3', '4', '5', '6'); dl[2] = new RcharLimited(1, '1', '2', '3', '4', '5', '6'); dl[3] = new RcharLimited(1, '1', '2', '3', '4', '5', '6'); Array.Copy(Numerics(9, 4), 0, dl, 4, 9); dlFormats = new[] { new DriversLicense(dl, this) }; }
public NewHampshire() : base("NH") { var dl = new Rchar[10]; dl[0] = new RcharNumeric(0); dl[1] = new RcharNumeric(1); dl[2] = new RcharUAlpha(2); dl[3] = new RcharUAlpha(3); dl[4] = new RcharUAlpha(4); Array.Copy(Numerics(4, 5), 0, dl, 5, 4); dl[9] = new RcharLimited(9, '1', '2', '3', '4', '5', '6', '7', '8', '9');//no zero dlFormats = new[] { new DriversLicense(dl, this) }; }
public Washington() : base("WA") { var dl = new Rchar[12]; dl[0] = new RcharUAlpha(0); dl[1] = new RcharUAlpha(1); dl[2] = new RcharUAlpha(2); dl[3] = new RcharUAlpha(3); dl[4] = new RcharUAlpha(4); dl[5] = new RcharUAlpha(5); dl[6] = new RcharUAlpha(6); dl[7] = new RcharAlphaNumeric(7); dl[8] = new RcharNumeric(8); dl[9] = new RcharLimited(9, '*'); dl[10] = new RcharAlphaNumeric(10); dl[11] = new RcharAlphaNumeric(11); dlFormats = new[] { new DriversLicense(dl, this) }; }