Exemple #1
0
        public void Create_from_year_month_day_strings_01_birth_date_12()
        {
            DateOfBirth dateOfBirth = new DateOfBirth(1962, 08, 03);
            int         age         = dateOfBirth.AgeAtDate(new DateTime(2017, 01, 01));

            age.ShouldBe(38);
        }