SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Technology Stocks : All About Sun Microsystems

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: David W. Ricker who wrote (15924)4/29/1999 11:07:00 AM
From: Mike Milde  Read Replies (1) of 64865
 
Wrong Ricker. That code is Y2K compliant. I just checked the API. Date.getYear() returns the # of years since 1900, so this works just fine the way it is written.

I think you might have assumed that Java uses a two digit year in its Date class.

Mike
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext