5 lines
6.1 KiB
JSON
5 lines
6.1 KiB
JSON
{
|
|
"id": "api/common/FormatWidth",
|
|
"title": "FormatWidth",
|
|
"contents": "\n\n<article>\n <div class=\"breadcrumb-container\">\n <div class=\"breadcrumb\">\n <script type=\"application/ld+json\">\n {\n \"@context\": \"http://schema.org\",\n \"@type\": \"BreadcrumbList\",\n \"itemListElement\": [\n { \"@type\": \"ListItem\", \"position\": 1, \"item\": { \"@id\": \"https://angular.io//api\", \"name\": \"API\" } },\n { \"@type\": \"ListItem\", \"position\": 2, \"item\": { \"@id\": \"https://angular.io/api/common\", \"name\": \"@angular/common\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.io/api/common/FormatWidth\", \"name\": \"FormatWidth\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/common\">@angular/common</a>\n </div>\n <div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/packages/common/src/i18n/locale_data_api.ts?message=docs(common)%3A%20describe%20your%20change...#L77-L110\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/common/src/i18n/locale_data_api.ts#L77-L110\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"formatwidth\">FormatWidth<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/FormatWidth#formatwidth\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label enum\">enum</label>\n \n \n \n </header>\n \n <aio-toc class=\"embedded\"></aio-toc>\n\n <div class=\"api-body\">\n \n <section class=\"short-description\">\n <p>String widths available for date-time formats.\nThe specific character widths are locale-specific.\nExamples are given for <code>en-US</code>.</p>\n\n \n </section>\n \n \n \n \n<section class=\"see-also\">\n <h2 id=\"see-also\">See also<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/FormatWidth#see-also\"><i class=\"material-icons\">link</i></a></h2>\n <ul>\n \n <li><p><code><a href=\"api/common/getLocaleDateFormat\" class=\"code-anchor\">getLocaleDateFormat</a>()</code></p>\n</li>\n <li><p>`getLocaleTimeFormat()<code></code></p>\n</li>\n <li><p><code><a href=\"api/common/getLocaleDateTimeFormat\" class=\"code-anchor\">getLocaleDateTimeFormat</a>()</code></p>\n</li>\n <li><p><a href=\"https://angular.io/guide/i18n\">Internationalization (i18n) Guide</a></p>\n</li>\n </ul>\n</section>\n\n\n \n<section class=\"enum-overview\">\n<code-example language=\"ts\" hidecopy=\"true\">\nenum <a href=\"api/common/FormatWidth\" class=\"code-anchor\">FormatWidth</a> {\n <a class=\"code-anchor\" href=\"api/common/FormatWidth#Short\"><span class=\"member-name\">Short</span></a>\n <a class=\"code-anchor\" href=\"api/common/FormatWidth#Medium\"><span class=\"member-name\">Medium</span></a>\n <a class=\"code-anchor\" href=\"api/common/FormatWidth#Long\"><span class=\"member-name\">Long</span></a>\n <a class=\"code-anchor\" href=\"api/common/FormatWidth#Full\"><span class=\"member-name\">Full</span></a>\n}\n</code-example>\n</section>\n\n\n\n<section class=\"members\">\n <h2 id=\"members\">Members<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/FormatWidth#members\"><i class=\"material-icons\">link</i></a></h2>\n <table class=\"is-full-width list-table property-table\">\n <thead>\n <tr>\n <th>Member</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n \n <tr class=\"member\">\n <td>\n <a id=\"Short\"></a>\n <code class=\"\"><span class=\"member-name\">Short</span></code>\n </td>\n <td>\n \n <p>For <code>en-US</code>, 'M/d/yy, h:mm a'<code>(Example:</code>6/15/15, 9:03 AM`)</p>\n\n \n </td>\n </tr>\n \n <tr class=\"member\">\n <td>\n <a id=\"Medium\"></a>\n <code class=\"\"><span class=\"member-name\">Medium</span></code>\n </td>\n <td>\n \n <p>For <code>en-US</code>, <code>'MMM d, y, h:mm:ss a'</code>\n(Example: <code>Jun 15, 2015, 9:03:01 AM</code>)</p>\n\n \n </td>\n </tr>\n \n <tr class=\"member\">\n <td>\n <a id=\"Long\"></a>\n <code class=\"\"><span class=\"member-name\">Long</span></code>\n </td>\n <td>\n \n <p>For <code>en-US</code>, <code>'MMMM d, y, h:mm:ss a z'</code>\n(Example: <code>June 15, 2015 at 9:03:01 AM GMT+1</code>)</p>\n\n \n </td>\n </tr>\n \n <tr class=\"member\">\n <td>\n <a id=\"Full\"></a>\n <code class=\"\"><span class=\"member-name\">Full</span></code>\n </td>\n <td>\n \n <p>For <code>en-US</code>, <code>'EEEE, MMMM d, y, h:mm:ss a zzzz'</code>\n(Example: <code>Monday, June 15, 2015 at 9:03:01 AM GMT+01:00</code>)</p>\n\n \n </td>\n </tr>\n \n </tbody>\n </table>\n</section>\n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/common\n - api/common/getLocaleDateFormat\n - api/common/getLocaleDateTimeFormat\n - api/common/getLocaleTimeFormat\n-->\n<!-- links from this doc:\n - /api\n - api/common\n - api/common/FormatWidth#Full\n - api/common/FormatWidth#Long\n - api/common/FormatWidth#Medium\n - api/common/FormatWidth#Short\n - api/common/FormatWidth#formatwidth\n - api/common/FormatWidth#members\n - api/common/FormatWidth#see-also\n - api/common/getLocaleDateFormat\n - api/common/getLocaleDateTimeFormat\n - https://angular.io/guide/i18n\n - https://github.com/angular/angular/edit/master/packages/common/src/i18n/locale_data_api.ts?message=docs(common)%3A%20describe%20your%20change...#L77-L110\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/common/src/i18n/locale_data_api.ts#L77-L110\n-->"
|
|
} |