Pulled the implementation of 'lookup date by rank' into the project, integrated it into the API and wrote a unit test for it.