This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
hi all, how to compare 2 date objects.... when i use methods of Date class...i get a warning when using before(), after() saying that they are deprecated...that is correct. in what other way can i compare... pl. give code as a hint.. thankx in advance
After reading the 1.4 API docs it seems to me that before() and after() are still the best methods for comparing date objects. Why then would they be deprecated? I still have a limited understanding of deprecated methods so I'm sure I'm just missing something here Thanks! Ryan
Ryan<p>---------------------------------<br />"We will stomp to the top with the wind in our teeth."
Joined: Nov 06, 2000
before/after of the date class are deprecated. There is still before/after for the Calendar class