src/main/java/seedu/insurancepal/model/appointment/Appointment.java
/**
     * Converts the first letter of the input month to uppercase
     *
     * @param dateTimeString date input by the user.
     * @return String with the first letter for the month in capital letters.
     */
Converts the first letter of the input month to uppercase
@param dateTimeString date input by the user.
@return String with the first letter for the month in capital letters.
Converts the first letter of the input month to uppercase @param dateTimeString date input by the user . @return String with the first letter for the month in capital letters .
private static String convertMonthToFormat(String dateTimeString) {
        String convertedDate = dateTimeString.substring(0, 3) + dateTimeString.substring(3, 4).toUpperCase()
                + dateTimeString.substring(4, 6).toLowerCase() + dateTimeString.substring(6, 17);
        return convertedDate;
    }
private static String convertMonthToFormat ( String dateTimeString ) { String convertedDate = dateTimeString . substring ( 0 , 3 ) + dateTimeString . substring ( 3 , 4 ) . toUpperCase ( ) + dateTimeString . substring ( 4 , 6 ) . toLowerCase ( ) + dateTimeString . substring ( 6 , 17 ) ; return convertedDate ; }
Converts the first letter of the input month to uppercase
 @param dateTimeString date input by the user.
Converts the first letter of the input month to uppercase @param dateTimeString date input by the user .