Hello
I have a roblem
Date class is depricated, how can I do this with Calendar class.
java.util.Date startDate;
java.util.Date endDate;
ResultSet rs = stmt.executeQuery(Query);
while (rs.next()) {
startDate = new java.util.Date(rs.getDate("start_date").getYear(),
rs.getDate("start_date").getMonth(),
rs.getDate("start_date").getDate());
startDate.setHours(rs.getTime("start_time").getHours());
startDate.setMinutes(rs.getTime("start_time").getMinutes());
endDate = new
java.util.Date(rs.getDate("end_date").getYear(),
rs.getDate("end_date").getMonth(),
rs.getDate("end_date").getDate());
endDate.setHours(rs.getTime("end_time").getHours());
endDate.setMinutes(rs.getTime("end_time").getMinutes());
Regards
Haris
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html