Description
The DynamicTimeRangeBuilder component is used to create a DynamicTimeRange from two dates.
Implementation
-
Drag and drop the DynamicTimeRangeBuilder component into the station
-
Connect to the StartDate and EndDate slots of the AbsTime slots
Properties
-
Status: The state of the component. By default this is {ok} and changes to a {fault} state when the start date is after the end date
-
FaultCause: the description of the error in case of problem
-
TimeRange: the period (DynamicTimeRange) resulting from the two dates. If the start date is after the end date, the component enters a fault state and the TimeRange returns a period between the default date (January 1, 1970) and a millisecond after this default date
-
StartDate: start date of the period
-
EndDate: end date of the period