(date: Date)
| 480 | } |
| 481 | |
| 482 | private formatDate(date: Date): string { |
| 483 | if (!isDateValid(date) || !this.isDateInRange(date)) { |
| 484 | return ""; |
| 485 | } |
| 486 | const { locale, formatDate } = this.props; |
| 487 | return formatDate(date, locale); |
| 488 | } |
| 489 | } |
no test coverage detected