Files
book-test/node_modules/concurrently/dist/lib/date-format.d.ts
T
chris a7524412f0
CI/CD Pipeline / test (push) Failing after 2m38s
CI/CD Pipeline / deploy-internal (push) Has been skipped
Add web front-end and fix API issues
2026-08-28 21:47:05 -04:00

20 lines
515 B
TypeScript

export interface FormatterOptions {
locale?: string;
calendar?: string;
}
/**
* Unicode-compliant date/time formatter.
*
* @see https://unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns
*/
export declare class DateFormatter {
private readonly options;
private static tokenRegex;
private readonly parts;
constructor(pattern: string, options?: FormatterOptions);
private compileLiteral;
private compileOther;
private compileToken;
format(date: Date): string;
}