endyear function

Return or replace endyear value from the metadata of an acs object.