tryParse static method
Implementation
@deprecated
static DateComponents? tryParse(String input) {
try {
return _fromFlexiDate(FlexiDate.parse(input))!;
} catch (e) {
_log.finer("Date parse error: $e");
return null;
}
}
@deprecated
static DateComponents? tryParse(String input) {
try {
return _fromFlexiDate(FlexiDate.parse(input))!;
} catch (e) {
_log.finer("Date parse error: $e");
return null;
}
}