import { Injectable } from '@angular/core' ; import { getSchedulerViewHourGrid , GetSchedulerViewHourGridArgs , getSchedulerViewDays , GetSchedulerViewDaysArgs , getSchedulerView , GetSchedulerViewArgs } from './calendar-scheduler-utils' ; import { WeekViewHour } from 'calendar-utils' ; import { SchedulerView , SchedulerViewDay } from '../models' ; import { DateAdapter } from 'angular-calendar' ; @ Injectable ( ) export class CalendarSchedulerUtils { constructor ( private dateAdapter ) { } getSchedulerViewHourGrid ( args ) { return getSchedulerViewHourGrid ( this . dateAdapter , args ) ; } getSchedulerViewDays ( args ) { return getSchedulerViewDays ( this . dateAdapter , args ) ; } getSchedulerView ( args ) { return getSchedulerView ( this . dateAdapter , args ) ; } }