getYear()

Returns the value of the Year calendar field. All calendar fields are normalized.

Syntax

Numeric getYear()