Displaying differences for changeset
 
display as  

src/java/cfa/DoubleArray.java

@@ -817,7 +817,7 @@
                 //the start and end of the "season" are within the same year (ex. February to October)
                 beginDate.set(Calendar.YEAR, currentYear);
             }
-            if(currentDate.compareTo(beginDate) > 0 && currentDate.compareTo(endDate) < 0){
+            if(currentDate.compareTo(beginDate) >= 0 && currentDate.compareTo(endDate) <= 0){
                 partialDates.add(allData[i][0]);
                 partialValues.add(allData[i][1]);
             }

src/java/cfa/FlowStatistics.java

@@ -331,7 +331,7 @@
                 period2Data[i][1] = period2_flows.get(i);
             }
             
-            //Calculate Period 1 data statistics
+            //Calculate Period 2 data statistics
             resultArray = calculateFlowStatistics(statsSummaryTable, 
                                                   period2Data, 
                                                   highPercentile, 
@@ -363,7 +363,7 @@
                 period3Data[i][1] = period3_flows.get(i);
             }
             
-            //Calculate Period 1 data statistics
+            //Calculate Period 3 data statistics
             resultArray = calculateFlowStatistics(statsSummaryTable, 
                                                   period3Data, 
                                                   highPercentile,