1 | import { Type } from '@angular/core';
|
2 | import { NbCalendarRange } from '../calendar/calendar-range.component';
|
3 | import { NbDatepickerComponent, NbRangepickerComponent } from './datepicker.component';
|
4 | import { NbDatepickerAdapter } from './datepicker.directive';
|
5 | import { NbDateService } from '../calendar-kit/services/date.service';
|
6 | import { NbDateTimePickerComponent } from './date-timepicker.component';
|
7 | import * as i0 from "@angular/core";
|
8 | export declare class NbDateAdapterService<D> extends NbDatepickerAdapter<D> {
|
9 | protected dateService: NbDateService<D>;
|
10 | picker: Type<NbDatepickerComponent<D>>;
|
11 | constructor(dateService: NbDateService<D>);
|
12 | parse(date: string, format: any): D;
|
13 | format(date: D, format: string): string;
|
14 | isValid(date: string, format: string): boolean;
|
15 | static ɵfac: i0.ɵɵFactoryDeclaration<NbDateAdapterService<any>, never>;
|
16 | static ɵprov: i0.ɵɵInjectableDeclaration<NbDateAdapterService<any>>;
|
17 | }
|
18 | export declare class NbRangeAdapterService<D> extends NbDatepickerAdapter<NbCalendarRange<D>> {
|
19 | protected dateService: NbDateService<D>;
|
20 | picker: Type<NbRangepickerComponent<D>>;
|
21 | constructor(dateService: NbDateService<D>);
|
22 | parse(range: string, format: any): NbCalendarRange<D>;
|
23 | format(range: NbCalendarRange<D>, format: string): string;
|
24 | isValid(range: string, format: string): boolean;
|
25 | static ɵfac: i0.ɵɵFactoryDeclaration<NbRangeAdapterService<any>, never>;
|
26 | static ɵprov: i0.ɵɵInjectableDeclaration<NbRangeAdapterService<any>>;
|
27 | }
|
28 | export declare class NbDateTimeAdapterService<D> extends NbDatepickerAdapter<D> {
|
29 | protected dateService: NbDateService<D>;
|
30 | picker: Type<NbDateTimePickerComponent<D>>;
|
31 | constructor(dateService: NbDateService<D>);
|
32 | parse(date: string, format: string): D;
|
33 | format(date: any, format: string): string;
|
34 | isValid(date: string, format: string): boolean;
|
35 | static ɵfac: i0.ɵɵFactoryDeclaration<NbDateTimeAdapterService<any>, never>;
|
36 | static ɵprov: i0.ɵɵInjectableDeclaration<NbDateTimeAdapterService<any>>;
|
37 | }
|