forked from slavaxom9k/PIBD-23_Fomichev_V.S._MagicCarpet
16 lines
331 B
C#
16 lines
331 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MagicCarpetContracts.Extensions;
|
|
|
|
public static class DateTimeExtensions
|
|
{
|
|
public static bool IsDateNotOlder(this DateTime date, DateTime olderDate)
|
|
{
|
|
return date >= olderDate;
|
|
}
|
|
}
|