Lines Matching defs:getOption

364  * Returns a getOption function that extracts property value for given
371 var getOption = function getOption(property, type, values, defaultValue) {
398 return getOption;
421 var getOption = getGetOption(options, service);
422 var matcher = getOption('localeMatcher', 'string',
546 function setOptions(inOptions, extensionMap, keyValues, getOption, outOptions) {
570 value = getOption(map.property, map.type, map.values);
968 var getOption = getGetOption(options, 'collator');
972 defineWEProperty(internalOptions, 'usage', getOption(
975 var sensitivity = getOption('sensitivity', 'string',
982 defineWEProperty(internalOptions, 'ignorePunctuation', getOption(
1007 options, extensionMap, COLLATOR_KEY_MAP, getOption, internalOptions);
1170 var getOption = getGetOption(options, 'numberformat');
1175 defineWEProperty(internalOptions, 'style', getOption(
1178 var currency = getOption('currency', 'string');
1187 var currencyDisplay = getOption(
1224 defineWEProperty(internalOptions, 'useGrouping', getOption(
1240 getOption, internalOptions);
1363 var getOption = getGetOption(options, 'dateformat');
1367 var option = getOption('weekday', 'string', ['narrow', 'short', 'long']);
1371 option = getOption('era', 'string', ['narrow', 'short', 'long']);
1375 option = getOption('year', 'string', ['2-digit', 'numeric']);
1378 option = getOption('month', 'string',
1383 option = getOption('day', 'string', ['2-digit', 'numeric']);
1387 var hr12 = getOption('hour12', 'boolean');
1388 option = getOption('hour', 'string', ['2-digit', 'numeric']);
1397 option = getOption('minute', 'string', ['2-digit', 'numeric']);
1400 option = getOption('second', 'string', ['2-digit', 'numeric']);
1403 option = getOption('timeZoneName', 'string', ['short', 'long']);
1572 var getOption = getGetOption(options, 'dateformat');
1576 var matcher = getOption('formatMatcher', 'string',
1602 getOption, internalOptions);
1815 var getOption = getGetOption(options, 'breakiterator');
1819 defineWEProperty(internalOptions, 'type', getOption(