@Override
	    public boolean equals(Object obj) {
	        if (obj == null) {
	            return false;
	        }
	        if (getClass() != obj.getClass()) {
	            return false;
	        }
	        final TimePeriod other = (TimePeriod) obj;
	        if (this.id != other.id && (this.id == null || !this.id.equals(other.id))) {
	            return false;
	        }
	        if ((this.startMonth == null) ? (other.startMonth != null) : !this.startMonth.equals(other.startMonth)) {
	            return false;
	        }
		 return (this.timeFormat == null) ? other.timeFormat == null : this.timeFormat.equals(other.timeFormat);
	 }