1 | import { ChangeDetectorRef, PipeTransform, OnDestroy, NgZone } from '@angular/core';
|
2 | import * as moment from 'moment';
|
3 | export declare class CalendarPipe implements PipeTransform, OnDestroy {
|
4 | private cdRef;
|
5 | private ngZone;
|
6 | |
7 |
|
8 |
|
9 |
|
10 | private static refs;
|
11 | private static timer;
|
12 | private static midnight;
|
13 | private midnightSub;
|
14 | constructor(cdRef: ChangeDetectorRef, ngZone: NgZone);
|
15 | transform(value: Date | moment.Moment, ...args: any[]): any;
|
16 | ngOnDestroy(): void;
|
17 | private static initTimer(ngZone);
|
18 | private static removeTimer();
|
19 | private static _getMillisecondsUntilUpdate();
|
20 | }
|