Skip to Content

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

Error in webdynpro coding


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.

Former Member
Former Member replied


just a little Workaround:

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

if (yourDate.before(now)) {





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