UNPKG

632 BTypeScriptView Raw
1import { NgbDateStruct } from '../ngb-date-struct';
2import { NgbDateNativeAdapter } from './ngb-date-native-adapter';
3import * as i0 from "@angular/core";
4/**
5 * Same as [`NgbDateNativeAdapter`](#/components/datepicker/api#NgbDateNativeAdapter), but with UTC dates.
6 *
7 * @since 3.2.0
8 */
9export declare class NgbDateNativeUTCAdapter extends NgbDateNativeAdapter {
10 protected _fromNativeDate(date: Date): NgbDateStruct;
11 protected _toNativeDate(date: NgbDateStruct): Date;
12 static ɵfac: i0.ɵɵFactoryDeclaration<NgbDateNativeUTCAdapter, never>;
13 static ɵprov: i0.ɵɵInjectableDeclaration<NgbDateNativeUTCAdapter>;
14}