posted 17 years ago
[vishwanath]: Is Date.compareTo() unreliable?
Not as far as I know. I think the most likely causes of your problem here are either: (a) one of your machines has its system clock set incorrectly, or (b) the two machines are using different TimeZones or Locales, which would affect how they interpret the endDate. I recommend adding a few lines of code to see what's going on:
"I'm not back." - Bill Harding, Twister