Age determinations of main-sequence stars: combining different methods