truly-ui
Version:
Web Components for Desktop Applications.
21 lines • 890 B
TypeScript
import { EventEmitter } from '@angular/core';
import { WorkScaleType } from '../types/work-scale.type';
import * as i0 from "@angular/core";
export declare class WorkScaleService {
workScale: WorkScaleType[];
currentDate: Date;
timesCollection: Array<Array<Date>>;
workScaleInMileseconds: any[];
updateScale: EventEmitter<any>;
constructor();
reload(workScale: WorkScaleType | WorkScaleType[]): void;
exitsWorkScale(workScale: any): boolean;
private setWorkScale;
private createWorkScaleMileseconds;
transformHourToMileseconds(fullHour: string, currentDate?: Date): number;
transformMilesecondsToHour(fullHour: number): string;
private generateTimes;
static ɵfac: i0.ɵɵFactoryDeclaration<WorkScaleService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<WorkScaleService>;
}
//# sourceMappingURL=work-scale.service.d.ts.map