function YearFromTime(t) {
        var min = Math.ceil(t / MS_PER_DAY / 366);
        var y = min;
        while (TimeFromYear(y) <= t) {
            y++;
        }
        return y - 1;
    }
https://tc39.es/ecma262/#sec-year-number
@param t