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: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static bool IsValidTime( string hourMinute )
Parameters
- hourMinute String
Return Value
BooleanExceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |