on 09-11-2008 10:26 AM
Hi,
I am getting an error in the following code :
if (DateCalculator.isInPast(usrDate))
The description of the error is DateCalculator cannot be resolved.
If anyone knows how to solve it please reply.
Hi,
just a little Workaround:
Date now = new Date(System.currentTimeMillis());
if (yourDate.before(now)) {
...
}
Regards,
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.