setYear()

Sets the value of the Year calendar field.

Syntax

Calendar setYear(Numeric value)
  1. value is the year to set.