import { DataProvider } from "icu4x" import { GregorianZonedDateTimeFormatter } from "icu4x" import { IsoDateTime } from "icu4x" import { Locale } from "icu4x" import { TimeZoneInfo } from "icu4x" export function formatIsoDatetimeWithCustomTimeZone(name, length, year, month, day, hour, minute, second, nanosecond, bcp47Id, offsetSeconds, dst) { return (function (...args) { return args[0].formatIsoDatetimeWithCustomTimeZone(...args.slice(1)) }).apply( null, [ GregorianZonedDateTimeFormatter.createWithLength.apply( null, [ DataProvider.compiled.apply( null, [ ] ), Locale.fromString.apply( null, [ name ] ), length ] ), IsoDateTime.create.apply( null, [ year, month, day, hour, minute, second, nanosecond ] ), TimeZoneInfo.fromParts.apply( null, [ bcp47Id, offsetSeconds, dst ] ) ] ); }