UNPKG

@nebular/date-fns

Version:
20 lines (19 loc) 740 B
import { NbNativeDateService } from '@nebular/theme'; import * as i0 from "@angular/core"; export interface NbDateFnsOptions { format: string; parseOptions: {}; formatOptions: {}; getWeekOptions: {}; } export declare class NbDateFnsDateService extends NbNativeDateService { protected options: Partial<NbDateFnsOptions>; constructor(locale: string, options: any); format(date: Date, format: string): string; parse(date: string, format: string): Date; getId(): string; getWeekNumber(date: Date): number; getDateFormat(): string; static ɵfac: i0.ɵɵFactoryDeclaration<NbDateFnsDateService, [null, { optional: true; }]>; static ɵprov: i0.ɵɵInjectableDeclaration<NbDateFnsDateService>; }