Files
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

22 lines
874 B
TypeScript

import { NgbDateAdapter } from './ngb-date-adapter';
import { NgbDateStruct } from '../ngb-date-struct';
import * as i0 from "@angular/core";
/**
* [`NgbDateAdapter`](#/components/datepicker/api#NgbDateAdapter) implementation that uses
* native javascript dates as a user date model.
*/
export declare class NgbDateNativeAdapter extends NgbDateAdapter<Date> {
/**
* Converts a native `Date` to a `NgbDateStruct`.
*/
fromModel(date: Date | null): NgbDateStruct | null;
/**
* Converts a `NgbDateStruct` to a native `Date`.
*/
toModel(date: NgbDateStruct | null): Date | null;
protected _fromNativeDate(date: Date): NgbDateStruct;
protected _toNativeDate(date: NgbDateStruct): Date;
static ɵfac: i0.ɵɵFactoryDeclaration<NgbDateNativeAdapter, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<NgbDateNativeAdapter>;
}