I guess the leap year adjustment is the tricky part