ISOIsLongYear

STD.Date.ISOIsLongYear( year )

yearAn INTEGER2 year value.
Return:ISOIsLongYear returns TRUE if the year has 53 ISO weeks, FALSE otherwise.

The ISOIsLongYear function returns TRUE if the specified year is a long year (i.e., has 53 ISO weeks), or FALSE if it has 52 weeks.

Example:

IMPORT STD;
Y := 2020;
IsLong := STD.Date.ISOIsLongYear(Y);
         // IsLong is TRUE for 2020 (it is a long year)
OUTPUT(IsLong);