@@ -0,0 +1,729 @@
+//user story to compare marriage and divorse dates%0Apackage Test;%0A%0Aimport java.text.ParseException;%0Aimport java.text.SimpleDateFormat;%0Aimport java.util.Date;%0A%0Apublic class CompareDivorceMarriage %7B%0A    public static boolean compare (String marriageDateString, String divorceDateString) throws ParseException %7B%0A        SimpleDateFormat format = new SimpleDateFormat(%22dd MMM yyyy%22);%0A%0A        Date marriageDate = format.parse(marriageDateString);%0A        Date divorceDate = format.parse(divorceDateString);%0A%0A        if (marriageDate.compareTo(divorceDate) == 1) %7B%0A            System.out.println(%22Error: Marriage date is after the divorce date.%22);%0A            return true;%0A        %7D else %7B%0A            return false;%0A        %7D%0A%0A    %7D%0A%7D%0A

Create CompareDivorceMarriage.java