ngx-bootstrap-fix-datepicker
Version:
Native Angular Bootstrap Components
12 lines (11 loc) • 630 B
TypeScript
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;