Navigation
Navigate Navigate Navigate Navigate

IfcValidTime

Definition from ISO/CD 10303-41:1992: Determines whether a candidate local time (IfcLocalTime) has a minute component if it has a second component. It returns FALSE if the condition is not met, otherwise it returns TRUE.

NOTE Corresponding STEP name: valid_time, please refer to ISO/IS 10303-41:1994 for the final definition of the formal standard.
HISTORY New function in IFC Release 1.5.1.

EXPRESS specification:

FUNCTION IfcValidTime
(Time: IfcLocalTime) : BOOLEAN;
IF EXISTS (Time.SecondComponent) THEN
  RETURN (EXISTS (Time.MinuteComponent));  
ELSE    
  RETURN (TRUE);  
END_IF;
END_FUNCTION;