TimeInterval constructor
TimeInterval({
- DateTime? startDateTime,
- DateTime? endDateTime,
- DurationUnitValue? duration,
- DateTime? date,
- String? partOfDay,
All properties are optional (according to OMH specification).
Note that e.g. duration is not automatically calculated based on start and end time.
Implementation
TimeInterval(
{this.startDateTime,
this.endDateTime,
this.duration,
this.date,
this.partOfDay});