@adaptabletools/adaptable
Version:
Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
14 lines (13 loc) • 546 B
TypeScript
import { ApiBase } from './ApiBase';
import { CalendarApi } from '../CalendarApi';
export declare class CalendarApiImpl extends ApiBase implements CalendarApi {
getNextWorkingDay(): Date;
getPreviousWorkingDay(): Date;
isWorkingDay(dateToCheck: Date): boolean;
isHoliday(dateToCheck: Date): boolean;
isSameDay(firstDateToCheck: Date, secondDateToCheck: Date): boolean;
private getHolidays;
isToday(dateToCheck: Date): boolean;
isYesterday(dateToCheck: Date): boolean;
isTomorrow(dateToCheck: Date): boolean;
}