add DateTime extension
This commit is contained in:
parent
bebac80679
commit
542506a77e
@ -0,0 +1,9 @@
|
|||||||
|
namespace TheCyclopsContracts.Extensions;
|
||||||
|
|
||||||
|
public static class DateTimeExtensions
|
||||||
|
{
|
||||||
|
public static bool IsDateNotOlder(this DateTime date, DateTime olderDate)
|
||||||
|
{
|
||||||
|
return date >= olderDate;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user