Calendar.year

Get year property.

  1. int year [@property getter]
    class Calendar
    @property
    int
    year
    ()
  2. int year [@property setter]

Return Value

Type: int

The selected year.

This property gets initially set to the current year.