year

The year type represents a calendar year.

Version Platforms
8.0.584.0 AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows
8.1.535.0 Debian, Ubuntu
9.5.13.130 Raspbian

Creation

current year : year
year <integer> : year
year <string> : year
year of <date> : year
year of <month and year> : year
<integer> as year : year
<string> as year : year

Properties

extrema of <year> : ( year, year )
leap of <year> : boolean
length of <year> : time interval
maximum of <year> : year
minimum of <year> : year
unique value of <year> : year with multiplicity

Casts

<year> as integer : integer
<year> as string : string

Operators

<year> < <year> : boolean
<year> <= <year> : boolean
<year> = <year> : boolean