( value: DateValue | null | undefined, calendar: Calendar )
| 237 | } |
| 238 | |
| 239 | export function convertValue( |
| 240 | value: DateValue | null | undefined, |
| 241 | calendar: Calendar |
| 242 | ): DateValue | null | undefined { |
| 243 | if (value === null) { |
| 244 | return null; |
| 245 | } |
| 246 | |
| 247 | if (!value) { |
| 248 | return undefined; |
| 249 | } |
| 250 | |
| 251 | return toCalendar(value, calendar); |
| 252 | } |
| 253 | |
| 254 | export function createPlaceholderDate( |
| 255 | placeholderValue: DateValue | null | undefined, |
no test coverage detected