Fix typo in date error message

git-svn-id: https://zxing.googlecode.com/svn/trunk@1610 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2010-09-30 19:53:45 +00:00
parent c01ee70804
commit c2d41376c3

View file

@ -238,7 +238,7 @@ public class CalendarEventGenerator implements GeneratorSource {
throw new GeneratorException("Start and end dates must be set."); throw new GeneratorException("Start and end dates must be set.");
} }
if (date1.after(date2)) { if (date1.after(date2)) {
throw new GeneratorException("Ending date is after starting date."); throw new GeneratorException("Start date is after end date.");
} }
DateTimeFormat isoFormatter = DateTimeFormat.getFormat("yyyyMMdd"); DateTimeFormat isoFormatter = DateTimeFormat.getFormat("yyyyMMdd");
StringBuilder output = new StringBuilder(); StringBuilder output = new StringBuilder();