* Gets the month in this year that the given Date falls on. * Returns null if the given Date is in another year.
(date: D | null)
| 323 | * Returns null if the given Date is in another year. |
| 324 | */ |
| 325 | private _getMonthInCurrentYear(date: D | null) { |
| 326 | return date && this._dateAdapter.getYear(date) == this._dateAdapter.getYear(this.activeDate) |
| 327 | ? this._dateAdapter.getMonth(date) |
| 328 | : null; |
| 329 | } |
| 330 | |
| 331 | /** |
| 332 | * Takes a month and returns a new date in the same day and year as the currently active date. |
no test coverage detected