Severity and Description               Path       Resource
Location               Creation Time    Id

3594: valueOf is not a recognized method of the dynamic class Date.
DealsDesigner   DealsDesigner.mxml      line 341
1193855145174  2611 

 

Any clue how to get rid of this? Or what is the proper way to code such that
you don't get it?

Sample generating code (in using e4x to select a subset of an XMLList):

x = x.(@enabled=='N' || (  (new
Date(@startDate.toString().replace('-','/').replace('-','/'))).valueOf() <
(new Date()).valueOf() && (new
Date(@endDate.toString().replace('-','/').replace('-','/'))).valueOf()>(new
Date()).valueOf()  ));

 

 

I ignored them at first, but now there are TONS of em showing up ;p

Am I not supposed to be using the Date class inside of e4x queries? Its all
working great, despite the warnings. 

 

 

Seth

Reply via email to