Date-Value in BDAY
Status: Beta
Brought to you by:
duponchel
When there is a date value in BDAY, not a date-time
value (both are allowed by rfc2426), the VDate
constructor cannot parse ist.
In VDate.setDate() we have:
indexDash = value.indexOf("T");
int day = Integer.parseInt(value.substring(0,
indexDash));
calendar.set(year, month - 1, day);
Here "value.substring(0, indexDash)" has to be replaced
by "(indexDash < 0 ? value : value.substring(0,
indexDash))"