Revit 2025.3 API
HVACLoad |
Check if the string can be parsed to a valid time for opening time and closing time. A valid string can be "16:30" or "4:30 PM";
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static bool IsValidTime( string hourMinute )
Public Shared Function IsValidTime ( hourMinute As String ) As Boolean
public: static bool IsValidTime( String^ hourMinute )
static member IsValidTime : hourMinute : string -> bool
Parameters
- hourMinute String
Return Value
Boolean| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also