The Duration object for openPeriod
openPeriod
Duration? get openPeriodDuration => openPeriod == null ? null : Duration(seconds: openPeriod!);