src/third_party/mozjs/extract/js/src/builtin/intl/RelativeTimeFormat.js
/**
 * Compute an internal properties object from |lazyRelativeTimeFormatData|.
 */
Compute an internal properties object from |lazyRelativeTimeFormatData|.
Compute an internal properties object from |lazyRelativeTimeFormatData| .
function resolveRelativeTimeFormatInternals(lazyRelativeTimeFormatData) {
    assert(IsObject(lazyRelativeTimeFormatData), "lazy data not an object?");
    var internalProps = std_Object_create(null);
    var RelativeTimeFormat = relativeTimeFormatInternalProperties;
    const r = ResolveLocale("RelativeTimeFormat",
                            lazyRelativeTimeFormatData.requestedLocales,
                            lazyRelativeTimeFormatData.opt,
                            RelativeTimeFormat.relevantExtensionKeys,
                            RelativeTimeFormat.localeData);
    internalProps.locale = r.locale;
    internalProps.numberingSystem = r.nu;
    internalProps.style = lazyRelativeTimeFormatData.style;
    internalProps.numeric = lazyRelativeTimeFormatData.numeric;
    return internalProps;
}
function resolveRelativeTimeFormatInternals ( lazyRelativeTimeFormatData ) { assert ( IsObject ( lazyRelativeTimeFormatData ) , "lazy data not an object?" ) ; var internalProps = std_Object_create ( null ) ; var RelativeTimeFormat = relativeTimeFormatInternalProperties ; const r = ResolveLocale ( "RelativeTimeFormat" , lazyRelativeTimeFormatData . requestedLocales , lazyRelativeTimeFormatData . opt , RelativeTimeFormat . relevantExtensionKeys , RelativeTimeFormat . localeData ) ; internalProps . locale = r . locale ; internalProps . numberingSystem = r . nu ; internalProps . style = lazyRelativeTimeFormatData . style ; internalProps . numeric = lazyRelativeTimeFormatData . numeric ; return internalProps ; }
Compute an internal properties object from |lazyRelativeTimeFormatData|.
Compute an internal properties object from |lazyRelativeTimeFormatData| .
// Steps 10-11. // Steps 12-13. // Step 14. // Step 15 (Not relevant in our implementation). // Step 17. // Step 19. // Steps 20-24 (Not relevant in our implementation).