ngx-gem-spaas
Version:
This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.
22 lines (21 loc) • 983 B
TypeScript
import { Observable } from 'rxjs';
import { SessionStorageService } from 'ngx-gem-spaas';
import { DateModel } from "../_models/date.model";
import * as i0 from "@angular/core";
export declare class DateService {
private ssService;
private date;
private date$;
private readonly SS_DATE;
static calcIdx(from: string, ts: string, granularity: 15 | 30 | 60, setToStartOfDay?: boolean): number;
static calcIdxH(from: string, ts: string, setToStartOfDay?: boolean): number;
static calcIdxS(from: string, ts: string, setToStartOfDay?: boolean): number;
static calcIdxQ(from: string, ts: string, setToStartOfDay?: boolean): number;
static calcQinH(ts: string): number;
constructor(ssService: SessionStorageService);
newDate(newDate: DateModel): void;
onNewDate(): Observable<DateModel>;
getDate(): DateModel;
static ɵfac: i0.ɵɵFactoryDeclaration<DateService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<DateService>;
}