import Day from "./Day"; import Week from "./Week"; import WideInterval from "./WideInterval"; /** * Class DateRange, defines a range of months, weeks or days. * A typical week or day will be associated. */ declare class DateRange { private _wideInterval; private _typical; constructor(w?: any); /** * Is this interval defining a typical day ? */ definesTypicalDay(): boolean; /** * Is this interval defining a typical week ? */ definesTypicalWeek(): boolean; /** * @return The typical day or week */ getTypical(): Day | Week; /** * @return The wide interval this date range concerns */ getInterval(): WideInterval; /** * Changes the date range */ updateRange(wide: any): void; /** * Check if the typical day/week of this date range is the same as in the given date range * @param dr The other DateRange * @return True if same typical day/week */ hasSameTypical(dr: any): any; /** * Does this date range contains the given date range (ie the second is a refinement of the first) * @param start The start of the date range * @param end The end of the date range * @return True if this date contains the given one (and is not strictly equal to) */ isGeneralFor(dr: any): boolean; } export default DateRange;