src/main/java/seedu/address/logic/parser/ParserUtil.java
public static AssignedStaff parseAssignedStaff(String assignedStaff) throws ParseException {
        requireNonNull(assignedStaff);
        String trimmedAssignedStaff = assignedStaff.trim();
        if (!AssignedStaff.isValidAssignedStaff(assignedStaff)) {
            throw new ParseException(AssignedStaff.MESSAGE_CONSTRAINTS);
        }
        return new AssignedStaff(assignedStaff);
    }
/**
     * Parses a {@code String assignedStaff} into a {@code AssignedStaff}. Leading and trailing whitespaces will be
     * trimmed.
     *
     * @throws ParseException if the given {@code assignedStaff} is invalid.
     */
Parses a  String assignedStaff into a  AssignedStaff. Leading and trailing whitespaces will be
trimmed.

@throws ParseException if the given  assignedStaff is invalid.
Parses a String assignedStaff into a AssignedStaff . Leading and trailing whitespaces will be trimmed . @throws ParseException if the given assignedStaff is invalid .
public static AssignedStaff parseAssignedStaff(String assignedStaff) throws ParseException {
        requireNonNull(assignedStaff);
        String trimmedAssignedStaff = assignedStaff.trim();
        if (!AssignedStaff.isValidAssignedStaff(assignedStaff)) {
            throw new ParseException(AssignedStaff.MESSAGE_CONSTRAINTS);
        }
        return new AssignedStaff(assignedStaff);
    }
public static AssignedStaff parseAssignedStaff ( String assignedStaff ) throws ParseException { requireNonNull ( assignedStaff ) ; String trimmedAssignedStaff = assignedStaff . trim ( ) ; if ( ! AssignedStaff . isValidAssignedStaff ( assignedStaff ) ) { throw new ParseException ( AssignedStaff . MESSAGE_CONSTRAINTS ) ; } return new AssignedStaff ( assignedStaff ) ; }
Parses a {@code String assignedStaff} into a {@code AssignedStaff}.
Parses a { @code String assignedStaff } into a { @code AssignedStaff } .