UNPKG

wx-gantt-store

Version:

14 lines (13 loc) 695 B
import { format } from "date-fns"; export declare function getSmallerUnitCount(unit: string, lengthUnit: string, date?: Date): number; export declare function isCorrectLengthUnit(minUnit: string, lengthUnit: string): boolean; export declare function getDiffer(unit: string): { (start: Date, end: Date, lengthUnit?: string, unitSize?: boolean): number; }; export declare function getAdder(unit: string): { (start: number | Date, step: number): Date; }; export declare function getUnitStart(unit: string, start: Date): Date; export declare function getUnitEnd(unit: string, date: Date): Date; export declare function isSameUnit(unit: string, a: Date, b: Date): boolean; export { format };