Added support for int values of day, month, year

> Added relevant unit tests
> Updated relevant variable interactions in compareTo function