Rob Camick wrote:Well I give up, since you are obviously paying no attention to what I've said in this posting or others.
Why did you last reply include code for a Calendar object? This posting is about using the Date class not the Calendar class. The SSCCE you posted demonstrated your problem and you only need to change one line to fix it. Both Rob's have told you how to fix it.
Paul Clapham wrote:Okay. So what does that error message actually tell you about the Date class? And what does the API documentation recommend you should do instead?
Paul Clapham wrote:The Date class isn't deprecated, so I expect your compiler error didn't really say that. Posting the actual error message also helps, whereas posting crude paraphrases of the error message is just distracting.
Seetharaman Venkatasamy wrote:better to say *array of arrays* insteadof multidimensional . your for loop declaration is wrong .