Timestamp has three methods that appear to do very similar work. Can they be consolidated somehow? Perhaps using optional parameters, etc. Those methods are FindCorrectYear, FindCorrectDayMonthAndYear, and FindCorrectYearAndMonth.
FindCorrectYear also does some weird...while(true) catch loop. Investigate if that can be replaced with a cleaner approach.
Timestamp
has three methods that appear to do very similar work. Can they be consolidated somehow? Perhaps using optional parameters, etc. Those methods areFindCorrectYear
,FindCorrectDayMonthAndYear
, andFindCorrectYearAndMonth
.FindCorrectYear
also does some weird...while(true) catch loop. Investigate if that can be replaced with a cleaner approach.