package seedu.ezdo.logic.parser;

import java.util.regex.Pattern;

import seedu.ezdo.logic.parser.ArgumentTokenizer.Prefix;

/**
 * Contains Command Line Interface (CLI) syntax definitions common to multiple commands
 */
public class CliSyntax {

    /* Prefix definitions */
    public static final Prefix PREFIX_PRIORITY = new Prefix("p/");
    public static final Prefix PREFIX_STARTDATE = new Prefix("s/");
    public static final Prefix PREFIX_DUEDATE = new Prefix("d/");
    public static final Prefix PREFIX_TAG = new Prefix("t/");

    /* Patterns definitions */
    public static final Pattern KEYWORDS_ARGS_FORMAT =
            Pattern.compile("(?<keywords>\\S+(?:\\s+\\S+)*)"); // one or more keywords separated by whitespace

}

@@ -532,16 +532,218 @@
 (%22t/%22);%0A
+    public static final Prefix PREFIX_MONTH = new Prefix(%22month/%22);%0A    public static final Prefix PREFIX_YEAR = new Prefix(%22year/%22);%0A    public static final Prefix PREFIX_DAY = new Prefix(%22day/%22);%0A    
 %0A    /* 

Add new prefix options for future opportunities to improve functionalities