public int estimateInYears() {
        final GetDateVisitor visitor = new GetDateVisitor("Birth");
        person.accept(visitor);
        final String birthDateString = visitor.getDate();
        final LocalDate l0 = provider.nowDate();
        final DateParser parser = new DateParser(birthDateString);
        final LocalDate l1 = new LocalDate(parser.getEstimateCalendar());
        final Period p = new Period(l1, l0);
        return p.getYears();
    }
public int estimateInYears ( ) { final GetDateVisitor visitor = new GetDateVisitor ( "Birth" ) ; person . accept ( visitor ) ; final String birthDateString = visitor . getDate ( ) ; final LocalDate l0 = provider . nowDate ( ) ; final DateParser parser = new DateParser ( birthDateString ) ; final LocalDate l1 = new LocalDate ( parser . getEstimateCalendar ( ) ) ; final Period p = new Period ( l1 , l0 ) ; return p . getYears ( ) ; }
@return the estimated difference in years