int year = (new Integer(token.nextToken())).intValue();
d = new java.util.Date(year, month, day);
}
if (d != null) {
try {
complaint.setDataParecer(new Date(d.getDate(), d.getMonth() + 1, d
.getYear() + 1900));
} catch (InvalidDateException ex) {
}
} else {
complaint.setDataParecer(null);
}
date = resultSet.getString("dataQueixa");
if (!date.equals("NULL")) {
StringTokenizer token = new StringTokenizer(date, "/");
int day = (new Integer(token.nextToken())).intValue();
int month = (new Integer(token.nextToken())).intValue();
int year = (new Integer(token.nextToken())).intValue();
d = new java.util.Date(year, month, day);
} else
d = null;
if (d != null) {
try {
complaint.setDataQueixa(new Date(d.getDate(), d.getMonth() + 1,
d.getYear() + 1900));
} catch (InvalidDateException ex) {
}
} else {
complaint.setDataQueixa(null);