UNPKG

ngx-bootstrap-fix-datepicker

Version:
12 lines (11 loc) 630 B
import { Locale } from '../locale/locale.class'; import { DateFormatterFn } from '../types'; export declare let formatFunctions: { [key: string]: (date: Date, locale: Locale, isUTC?: boolean, offset?: number) => string; }; export declare let formatTokenFunctions: { [key: string]: DateFormatterFn; }; export declare const formattingTokens: RegExp; export declare function addFormatToken(token: string, padded: [string, number, boolean], ordinal: string, callback: DateFormatterFn): void; export declare function makeFormatFunction(format: string): (date: Date, locale: Locale, isUTC?: boolean, offset?: number) => string;