1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | import { Subject } from 'rxjs';
|
---|
9 | /** Datepicker data that requires internationalization. */
|
---|
10 | export declare class MatDatepickerIntl {
|
---|
11 | /**
|
---|
12 | * Stream that emits whenever the labels here are changed. Use this to notify
|
---|
13 | * components if the labels have changed after initialization.
|
---|
14 | */
|
---|
15 | readonly changes: Subject<void>;
|
---|
16 | /** A label for the calendar popup (used by screen readers). */
|
---|
17 | calendarLabel: string;
|
---|
18 | /** A label for the button used to open the calendar popup (used by screen readers). */
|
---|
19 | openCalendarLabel: string;
|
---|
20 | /** Label for the button used to close the calendar popup. */
|
---|
21 | closeCalendarLabel: string;
|
---|
22 | /** A label for the previous month button (used by screen readers). */
|
---|
23 | prevMonthLabel: string;
|
---|
24 | /** A label for the next month button (used by screen readers). */
|
---|
25 | nextMonthLabel: string;
|
---|
26 | /** A label for the previous year button (used by screen readers). */
|
---|
27 | prevYearLabel: string;
|
---|
28 | /** A label for the next year button (used by screen readers). */
|
---|
29 | nextYearLabel: string;
|
---|
30 | /** A label for the previous multi-year button (used by screen readers). */
|
---|
31 | prevMultiYearLabel: string;
|
---|
32 | /** A label for the next multi-year button (used by screen readers). */
|
---|
33 | nextMultiYearLabel: string;
|
---|
34 | /** A label for the 'switch to month view' button (used by screen readers). */
|
---|
35 | switchToMonthViewLabel: string;
|
---|
36 | /** A label for the 'switch to year view' button (used by screen readers). */
|
---|
37 | switchToMultiYearViewLabel: string;
|
---|
38 | /** Formats a range of years. */
|
---|
39 | formatYearRange(start: string, end: string): string;
|
---|
40 | }
|
---|