<commit_before>package seedu.address.model.task;

import java.time.LocalDate;

import seedu.address.commons.exceptions.IllegalValueException;

/**
 * Represents a Task's Due date in the To Do List.
 * Guarantees: immutable; is valid as declared in {@link #isValidDueByDate(String)}
 */
public class DueByDate {

//    public static final String MESSAGE_DUEBYDATE_CONSTRAINTS = "Due by? You should enter a day, or a date.";
//    public static final String DUEBYDATE_VALIDATION_REGEX = ".*";

    public final LocalDate value;

    /**
     * Validates given Due date.
     *
     * @throws IllegalValueException if given due date string is invalid.
     */
    public DueByDate(LocalDate dueByDate) {
        assert dueByDate != null;
        this.value = dueByDate;
    }

    @Override
    public String toString() {
        return value.toString();
    }
    
    /*
    @Override
    public boolean equals(Object other) {
        return other == this // short circuit if same object
                || (other instanceof DueDay // instanceof handles nulls
                && this.value.equals(((DueDay) other).value)); // state check
    }
    */

    @Override
    public int hashCode() {
        return value.hashCode();
    }
    
    /*
     * Produces a friendly string of values in the format MM/DD/YYYY
     * 
     * @author A0139661Y
     */
	public String getFriendlyString() {
		return new StringBuilder(value.getMonthValue() +"/"+ value.getDayOfMonth() +"/"+ value.getYear()).toString();
	}

}
<commit_msg>Added message constraints for Due By, though this will likely not be checked. <commit_after>package seedu.address.model.task;

import java.time.LocalDate;

import seedu.address.commons.exceptions.IllegalValueException;

/**
 * Represents a Task's Due date in the To Do List.
 * Guarantees: immutable; is valid as declared in {@link #isValidDueByDate(String)}
 */
public class DueByDate {

    public static final String MESSAGE_DUEBYDATE_CONSTRAINTS = "Due by? You should enter a day, or a date.";
//    public static final String DUEBYDATE_VALIDATION_REGEX = ".*";

    public final LocalDate value;

    /**
     * Validates given Due date.
     *
     * @throws IllegalValueException if given due date string is invalid.
     */
    public DueByDate(LocalDate dueByDate) {
        assert dueByDate != null;
        this.value = dueByDate;
    }

    @Override
    public String toString() {
        return value.toString();
    }
    
    /*
    @Override
    public boolean equals(Object other) {
        return other == this // short circuit if same object
                || (other instanceof DueDay // instanceof handles nulls
                && this.value.equals(((DueDay) other).value)); // state check
    }
    */

    @Override
    public int hashCode() {
        return value.hashCode();
    }
    
    /*
     * Produces a friendly string of values in the format MM/DD/YYYY
     * 
     * @author A0139661Y
     */
	public String getFriendlyString() {
		return new StringBuilder(value.getMonthValue() +"/"+ value.getDayOfMonth() +"/"+ value.getYear()).toString();
	}

}

{'fraction_non_alphanumeric': 0.10499194847020935, 'fraction_numerical': 0.0045088566827697265, 'mean_word_length': 2.5907514450867053, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7553950', 'n_tokens_mistral': 922, 'n_tokens_neox': 886, 'n_words': 269}