Skip to content

Commit aa1686a

Browse files
committed
Adds a date selection model (#17363)
* Adds a date selection model * Adds a date selection model
1 parent 0415c1f commit aa1686a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tools/public_api_guard/material/core.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,16 @@ export declare class MatSingleDateSelectionModel<D> extends MatDateSelectionMode
375375
setDate(date: D | null): void;
376376
}
377377

378+
export declare class MatSingleDateSelectionModel<D> extends MatDateSelectionModel<D> {
379+
constructor(adapter: DateAdapter<D>, date?: D | null);
380+
add(date: D | null): void;
381+
asDate(): D | null;
382+
compareDate(other: MatSingleDateSelectionModel<D>): number | boolean;
383+
isComplete(): boolean;
384+
isSame(other: MatDateSelectionModel<D>): boolean;
385+
isValid(): boolean;
386+
}
387+
378388
export declare const JAN = 0, FEB = 1, MAR = 2, APR = 3, MAY = 4, JUN = 5, JUL = 6, AUG = 7, SEP = 8, OCT = 9, NOV = 10, DEC = 11;
379389

380390
export declare function mixinColor<T extends Constructor<HasElementRef>>(base: T, defaultColor?: ThemePalette): CanColorCtor & T;

0 commit comments

Comments
 (0)