Ruby 1.9.0 リファレンスマニュアル
>
ライブラリ一覧
> library
date
> class
Date
> year
instance method Date#year
year -> Integer
年を返します。