DateTimeExtensionsIsBefore Method

Definition

Namespace: Ignition.Utility.Extensions
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public static bool IsBefore(
	this DateTime dateToCheck,
	DateTime? endDate,
	DatePresentExpectation endDateExpectation = DatePresentExpectation.AlwaysRequired
)

Parameters

dateToCheck  DateTime
 
endDate  NullableDateTime
 
endDateExpectation  DatePresentExpectation  (Optional)
 

Return Value

Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DateTime. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also