date method

DateTime? date()

The effectiveDate as a DateTime.

Implementation

DateTime? date() {
  _date ??= convertToDate(effectiveDate);
  return _date;
}