UNPKG

@anglr/rest

Version:

Angular module representing rest services

26 lines 866 B
import { RestDateApi } from '@anglr/rest'; import { DateApi } from '@anglr/datetime'; import * as i0 from "@angular/core"; /** * RestDateApi implementation using `@anglr/datetime` */ export declare class DatetimeRestDateApi<TDate = unknown> implements RestDateApi<TDate> { protected dateApi: DateApi<TDate>; protected stringFormat: string; constructor(dateApi: DateApi<TDate>, stringFormat: string); /** * @inheritdoc */ isDate(value: unknown): value is TDate | Date; /** * @inheritdoc */ toString(value: TDate | Date): string; /** * @inheritdoc */ isBeforeNow(tested: TDate): boolean; static ɵfac: i0.ɵɵFactoryDeclaration<DatetimeRestDateApi<any>, never>; static ɵprov: i0.ɵɵInjectableDeclaration<DatetimeRestDateApi<any>>; } //# sourceMappingURL=datetimeRestDateApi.service.d.ts.map