private bool calculateMeet(Person pe1,Person pe2)
{
if (pe1.Death.Year < pe2.Birth.Year)
return false;
else
{
if (pe1.Death.Year == pe2.Birth.Year)
{
if (pe1.Death.Month != 0 && pe2.Birth.Month != 0 && pe1.Death.Month < pe2.Birth.Month)
return false;
else if(pe1.Death.Month == pe2.Birth.Month)
if (pe1.Death.Day != 0 && pe2.Birth.Day != 0 && pe1.Death.Day < pe2.Birth.Day)
return false;
}
}
return true;
}