UNPKG

@thetechcompany/react-gantt-timeline

Version:

[![npm](https://img.shields.io/npm/v/react-gantt-timeline.svg?style=flat-square)](http://npm.im/react-gantt-timeline) [![MIT License](https://img.shields.io/npm/l/react-list.svg?style=flat-square)](http://opensource.org/licenses/MIT) [![Travis](https://tr

13 lines (12 loc) 513 B
declare class DateHelper { dateToPixel(input: any, nowposition: number, daywidth: number): number; pixelToDate(position: number, nowposition: number, daywidth: number): Date; getToday(): Date; monthDiff(start: any, end: any): number; daysInMonth(month: any, year: any): number; dayToPosition: (day: any, now: number, dayWidth: number) => number; daysInYear: (year: number) => 366 | 365; isLeapYear(year: number): boolean; } declare const helper: DateHelper; export default helper;