Grasshopper API
GH_ConvertIsPureTime Method |
Tests whether a DateTime instance represents a pure time (i.e. that the date portion is undefined).
Pure times are a Grasshopper convention, basically a pure time is 2 ticks past any second.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static bool IsPureTime( DateTime potentialTime )
Public Shared Function IsPureTime ( potentialTime As DateTime ) As Boolean
Parameters
- potentialTime
- Type: SystemDateTime
Date to test.
Return Value
Type: BooleanTrue if the time is considered undefined.
