'Declaration Public Shared Function FromDateTime( _ ByVal compareType As DateCompareType, _ ByVal expected As System.Date _ ) As TimeCondition
'Usage Dim compareType As DateCompareType Dim expected As System.Date Dim value As TimeCondition value = TimeCondition.FromDateTime(compareType, expected)
public static TimeCondition FromDateTime( DateCompareType compareType, System.DateTime expected )
Parameters
- compareType
- The compare type.
- expected
- The expected DateTime object.
Return Value
The TimeCondition object.