This discussion is archived
3 Replies Latest reply: Nov 21, 2012 3:52 AM by 660069 RSS

Coherence cannot handle year in dates of 9999 ?

694204 Newbie
Currently Being Moderated
Hi,

I have been running into an issue with dates in coherence. We have some data which specifies a date of 01/01/9999 to indicate that the date does not expire.
However this results in errors when loading into coherence as follows:-

java.io.IOException: year is likely out of range: 9999

I then found this related thread:-

Storing large DateTime values from .NET

Is it really true that coherence cannot handle a valid date ???? Why would you possibly validate a year in the first place given 9999 is actually a valid year !.

TIA
Martin

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points