Files

24 lines
945 B
TypeScript

import { ChangeDetectorRef, PipeTransform, OnDestroy, NgZone } from '@angular/core';
import * as moment from 'moment';
import * as ɵngcc0 from '@angular/core';
export declare class CalendarPipe implements PipeTransform, OnDestroy {
private cdRef;
private ngZone;
/**
* Internal reference counter, so we can clean up when no instances are in use
*/
private static refs;
private static timer;
private static midnight;
private midnightSub;
constructor(cdRef: ChangeDetectorRef, ngZone: NgZone);
transform(value: moment.MomentInput, ...args: any[]): any;
ngOnDestroy(): void;
private static initTimer;
private static removeTimer;
private static _getMillisecondsUntilUpdate;
static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<CalendarPipe, never>;
static ɵpipe: ɵngcc0.ɵɵPipeDeclaration<CalendarPipe, "amCalendar">;
}
//# sourceMappingURL=calendar.pipe.d.ts.map