1 | import { Boundary } from "@blueprintjs/core";
|
2 | import { DateRange } from "./common/dateRange";
|
3 | export interface IDateRangeSelectionState {
|
4 | |
5 |
|
6 |
|
7 | boundary?: Boundary;
|
8 | |
9 |
|
10 |
|
11 | dateRange: DateRange;
|
12 | }
|
13 | export declare class DateRangeSelectionStrategy {
|
14 | |
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | static getNextState(currentRange: DateRange, day: Date, allowSingleDayRange: boolean, boundary?: Boundary): IDateRangeSelectionState;
|
21 | private static getNextStateForBoundary;
|
22 | private static getDefaultNextState;
|
23 | private static getOtherBoundary;
|
24 | private static getBoundaryDate;
|
25 | private static isOverlappingOtherBoundary;
|
26 | private static createRangeForBoundary;
|
27 | private static createRange;
|
28 | }
|