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.AnalysisAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static bool IsValidTime(
string hourMinute
)
Parameters
- hourMinute String
-
Return Value
Boolean
Exceptions
See Also
Reference