Skip to content

Commit

Permalink
DateList should be constructed with VALUE parameter argument
Browse files Browse the repository at this point in the history
git-svn-id: https://source.jasig.org/sa/sched-assist/trunk@25907 f5dbab47-78f9-eb45-b975-e544023573eb
  • Loading branch information
nblair committed Feb 28, 2012
1 parent ebc6dff commit ec0b1c2
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -432,12 +432,10 @@ public List<net.fortuna.ical4j.model.Calendar> convertScheduleForReflection(
} else {
// add Rdate to existing event
net.fortuna.ical4j.model.Date start = new net.fortuna.ical4j.model.Date(DateUtils.truncate(block.getStartTime(), java.util.Calendar.DATE));
DateList dates = new DateList();
DateList dates = new DateList(Value.DATE);
dates.add(start);

ParameterList params = new ParameterList();
params.add(Value.DATE);
RDate rDate = new RDate(params, dates);
RDate rDate = new RDate(dates);
event.getProperties().add(rDate);
}
}
Expand Down

0 comments on commit ec0b1c2

Please sign in to comment.