
03-30-06, 01:25 AM
|
|
Newbie Coder
|
|
Join Date: Mar 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
help me plz...
hi to all
help me plz
i am doing program in java
description of my program
1. i created start date and end date, it has to compare, then the dates has to go to the database,
2. in databse i created a table called holidays(in holiday table there is a list of public holidays and weekend )
3. the start date and end date has to go there and check these dates are in public holidays are in weekends
if yes means it has tel reaining days are weekdays
here is my error program
in my program there is a error , i tried to solve it, if any one knows plz help me
here is my error
>javac compareDates.java
compareDates.java:47: cannot find symbol
symbol : method setDate(int,java.util.Date)
location: interface java.sql.PreparedStatement
pStatement.setDate(1, formatter.parse(dDateA));
^
compareDates.java:48: cannot find symbol
symbol : method setDate(int,java.util.Date)
location: interface java.sql.PreparedStatement
pStatement.setDate(2, formatter.parse(dDateB));
^
2 errors
in my program there is a error , i tried to solve it, if any one knows plz help me
help me plzzzzz
|