function ToLocalTime(t, calendar, timeZone, _a) {
        var tzData = _a.tzData;
        invariant(Type(t) === 'Number', 'invalid time');
        invariant(calendar === 'gregory', 'We only support Gregory calendar right now');
        var _b = getApplicableZoneData(t, timeZone, tzData), timeZoneOffset = _b[0], inDST = _b[1];
        var tz = t + timeZoneOffset;
        var year = YearFromTime(tz);
        return {
            weekday: WeekDay(tz),
            era: year < 0 ? 'BC' : 'AD',
            year: year,
            relatedYear: undefined,
            yearName: undefined,
            month: MonthFromTime(tz),
            day: DateFromTime(tz),
            hour: HourFromTime(tz),
            minute: MinFromTime(tz),
            second: SecFromTime(tz),
            inDST: inDST,
            // IMPORTANT: Not in spec
            timeZoneOffset: timeZoneOffset,
        };
    }
https://tc39.es/ecma402/#sec-tolocaltime
@param t
@param calendar
@param timeZone