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 (15928)4/29/1999 11:29:00 AM
From: Mike Milde  Read Replies (3) of 64865
 

Here is the Sun Microsystems source code on the Date.getYear() method, along with the comments from Sun:

/**
* Returns the year represented by this date, minus 1900.
*
* @return the year represented by this date, minus 1900.
* @see java.util.Calendar
* @since JDK1.0
* @deprecated As of JDK version 1.1,
* replaced by <code>Calendar.get(Calendar.YEAR) - 1900</code>.
*/
public int getYear() {
return getField(Calendar.YEAR) - 1900;
}

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