Implement Date class for managing dates.

Change-Id: I5a96fc3dc1f27fb744ef80ce0fc5a87a70a6f2c1