Further modification to setters and getters of the date fields of the entities