Click or drag to resize

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)
Syntax
public static bool IsPureTime(
	DateTime potentialTime
)

Parameters

potentialTime
Type: SystemDateTime
Date to test.

Return Value

Type: Boolean
True if the time is considered undefined.
See Also