Tell, don’t askintermediate
A method that mostly reads another object’s data belongs on that object; ask an object to act rather than for its parts, and each class keeps one reason to change.
SchoolSystem asks the child for its birth year, month and day, then does every piece of date arithmetic itself. Move each piece of work to the object that owns the data, until GetBeginning asks for nothing.
No getters for the birth parts, a one-line chain in SchoolSystem, date arithmetic only in Date and MonthDay, and both dates traced.
Published in full, before you start — every point is one of these and there is nothing else.
A method that mostly reads another object’s data belongs on that object; ask an object to act rather than for its parts, and each class keeps one reason to change.