public String toString() {
		switch (flags) {
		case BEFORE:
		return "BEFORE " + super.toString();
		
		case AFTER:
			return "AFTER " + super.toString();
			
		case BETWEEN:
			return "BETWEEN " + super.toString() + " AND " + date2.toString();
			
		default:
			return "DateRange[UNKNOWN " + super.toString() + "]";
		}
	}