Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error in webdynpro coding

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.

replied

Hi,

just a little Workaround:

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

if (yourDate.before(now)) {

...

}

Regards,

Martin

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question