|6 Months Ended
Dec. 31, 2011
|Marketable Securities [Abstract]
The amortized cost and fair value of marketable securities as of the dates indicated below were as follows:
KLA-Tencor’s investment portfolio consists of both corporate and government securities that have a maximum maturity of three years. The longer the duration of these securities, the more susceptible they are to changes in market interest rates and bond yields. As yields increase, those securities with a lower yield-at-cost show a mark-to-market unrealized loss. All unrealized losses are due to changes in market interest rates, bond yields and/or credit ratings. The Company has the ability to realize the full value of all of these investments upon maturity. The following table summarizes the fair value and gross unrealized losses of the Company’s investments that were in an unrealized loss position as of the date indicated below:
The contractual maturities of securities classified as available-for-sale, regardless of their classification on the Company's Condensed Consolidated Balance Sheet, as of the date indicated below were as follows:
Actual maturities may differ from contractual maturities because borrowers may have the right to call or prepay obligations with or without call or prepayment penalties. Net realized losses on the Company's investments for the three months ended December 31, 2011 were $0.1 million. Net realized gains on the Company's investments for the three months ended December 31, 2010 were $0.4 million. Net realized gains on the Company's investments for the six months ended December 31, 2011 and 2010 were $0.6 million and $1.5 million, respectively.