changed from guava to java 7 equals and hashcode utils
added illegalargumentexception in timeOfDayTest
added tests for day and added illegalargumentexception