@engie-group/ngx-gem-spaas
Version:
This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.
24 lines (23 loc) • 736 B
TypeScript
import { Observable } from 'rxjs';
import { OnDestroy } from '@angular/core';
import { NowModel } from "../_models/now.model";
import * as i0 from "@angular/core";
export declare class NowService implements OnDestroy {
private now;
private curM$;
private curQ$;
private curH$;
private onDestroy$;
private stop$;
constructor();
private static calcHQM;
ngOnDestroy(): void;
private startCounting;
private stopCounting;
private checkNow;
onNewMinute(): Observable<NowModel>;
onNewQuarterHour(): Observable<NowModel>;
onNewHour(): Observable<NowModel>;
static ɵfac: i0.ɵɵFactoryDeclaration<NowService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<NowService>;
}