MCPcopy Create free account
hub / github.com/adobe/react-spectrum /

Class

packages/@internationalized/date/src/DateFormatter.ts:20–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19/** A wrapper around Intl.DateTimeFormat that fixes various browser bugs, and polyfills new features. */
20export class DateFormatter implements Intl.DateTimeFormat {
21 private formatter: Intl.DateTimeFormat;
22 private options: Intl.DateTimeFormatOptions;
23 private resolvedHourCycle: Intl.DateTimeFormatOptions['hourCycle'];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected