 | NetForumDateHelpersIsActiveOrNotSet Method |
Note: This API is now obsolete.
Namespace: Ignition.FrameworkAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntax[ObsoleteAttribute("Use DateTimeExtensions.IsWithin with DatePresentExpectation.MayBeUnspecified instead. (5.0)",
true)]
public static bool IsActiveOrNotSet(
DateTime startDate,
DateTime endDate,
DateTime? dateToCheck = null
)<ObsoleteAttribute("Use DateTimeExtensions.IsWithin with DatePresentExpectation.MayBeUnspecified instead. (5.0)",
true)>
Public Shared Function IsActiveOrNotSet (
startDate As DateTime,
endDate As DateTime,
Optional dateToCheck As DateTime? = Nothing
) As Booleanpublic:
[ObsoleteAttribute(L"Use DateTimeExtensions.IsWithin with DatePresentExpectation.MayBeUnspecified instead. (5.0)",
true)]
static bool IsActiveOrNotSet(
DateTime startDate,
DateTime endDate,
Nullable<DateTime> dateToCheck = nullptr
)
[<ObsoleteAttribute("Use DateTimeExtensions.IsWithin with DatePresentExpectation.MayBeUnspecified instead. (5.0)",
true)>]
static member IsActiveOrNotSet :
startDate : DateTime *
endDate : DateTime *
?dateToCheck : Nullable<DateTime>
(* Defaults:
let _dateToCheck = defaultArg dateToCheck null
*)
-> bool Parameters
- startDate DateTime
-
- endDate DateTime
-
- dateToCheck NullableDateTime (Optional)
-
Return Value
Boolean
See Also