code: function dateStrGetter(name, width, form, extended) {
      if (form === void 0) { form = FormStyle.Format; }
      if (extended === void 0) { extended = false; }
      return function (date, locale) {
          return getDateTranslation(date, locale, name, width, form, extended);
      };
  }
docs: Returns a date formatter that transforms a date into its locale string representation