cancel
Showing results for 
Search instead for 
Did you mean: 

Error in webdynpro coding

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

just a little Workaround:

Date now = new Date(System.currentTimeMillis());

if (yourDate.before(now)) {

...

}

Regards,

Martin

Answers (0)