EfueliteSolutionsDateHelper 1.0.15

dotnet add package EfueliteSolutionsDateHelper --version 1.0.15
NuGet\Install-Package EfueliteSolutionsDateHelper -Version 1.0.15
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EfueliteSolutionsDateHelper" Version="1.0.15" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EfueliteSolutionsDateHelper --version 1.0.15
#r "nuget: EfueliteSolutionsDateHelper, 1.0.15"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EfueliteSolutionsDateHelper as a Cake Addin
#addin nuget:?package=EfueliteSolutionsDateHelper&version=1.0.15

// Install EfueliteSolutionsDateHelper as a Cake Tool
#tool nuget:?package=EfueliteSolutionsDateHelper&version=1.0.15

Usage:

In class where its to be used, import the name space "EfueliteSolutionsDateHelper". All functions extends the c# DateTime Methods.

Methods:

public static bool IsThisSecond(this DateTime date);

public static Task<bool> IsThisSecondAsync(this DateTime date);

public static bool IsThisMinute(this DateTime date);

public static Task<bool> IsThisMinuteAsync(this DateTime date);

public static bool IsThisHour(this DateTime date);

public static Task<bool> IsThisHourAsync(this DateTime date);

public static bool IsToday(this DateTime date);

public static Task<bool> IsTodayAsync(this DateTime date);

public static bool IsOneTodayAgo(this DateTime date);

public static Task<bool> IsOneTodayAgoAsync(this DateTime date);

public static bool IsTwoTodaysAgo(this DateTime date);

public static Task<bool> IsTwoTodaysAgoAsync(this DateTime date);

public static bool IsThreeTodaysAgo(this DateTime date);

public static Task<bool> IsThreeTodaysAgoAsync(this DateTime date);

public static bool IsFourTodaysAgo(this DateTime date);

public static Task<bool> IsFourTodaysAgoAsync(this DateTime date);

public static bool IsFiveTodaysAgo(this DateTime date);

public static Task<bool> IsFiveTodaysAgoAsync(this DateTime date);

public static bool IsSixTodaysAgo(this DateTime date);

public static Task<bool> IsSixTodaysAgoAsync(this DateTime date);

public static bool IsThisWeek(this DateTime date);

public static Task<bool> IsThisWeekAsync(this DateTime date);

public static bool IsLastWeekAgo(this DateTime date);

public static Task<bool> IsLastWeekAgoAsync(this DateTime date);

public static bool IsLastTwoWeekAgo(this DateTime date);

public static Task<bool> IsLastTwoWeekAgoAsync(this DateTime date);

public static bool IsLastThreeWeekAgo(this DateTime date);

public static Task<bool> IsLastThreeWeekAgoAsync(this DateTime date);

public static bool IsLastFourWeekAgo(this DateTime date);

public static Task<bool> IsLastFourWeekAgoAsync(this DateTime date);

public static bool IsThisMonth(this DateTime date);

public static Task<bool> IsThisMonthAsync(this DateTime date);

public static string GetDatePart(this DateTime date);

public static Task<string> GetDatePartAsync(this DateTime date);

public static string GetDatePartWithZeroTime(this DateTime date);

public static Task<string> GetDatePartWithZeroTimeAsync(this DateTime date);

public static string GetDatePartWithTime(this DateTime date);

public static Task<string> GetDatePartWithTimeAsync(this DateTime date);

public static bool IsMonday(this DateTime date);

public static Task<bool> IsMondayAsync(this DateTime date);

public static bool IsTuesday(this DateTime date);

public static Task<bool> IsTuesdayAsync(this DateTime date);

public static bool IsWednesday(this DateTime date);

public static Task<bool> IsWednesdayAsync(this DateTime date);

public static bool IsThursday(this DateTime date);

public static Task<bool> IsThursdayAsync(this DateTime date);

public static bool IsFriday(this DateTime date);

public static Task<bool> IsFridayAsync(this DateTime date);

public static bool IsSunday(this DateTime date);

public static Task<bool> IsSundayAsync(this DateTime date);

public static bool IsSaturday(this DateTime date);

public static Task<bool> IsSaturdayAsync(this DateTime date);

public static bool IsWeekend(this DateTime date);

public static Task<bool> IsWeekendAsync(this DateTime date);

public static bool IsThisYear(this DateTime date);

public static Task<bool> IsThisYearAsync(this DateTime date);

public static bool IsValidDateFormat(this string dateTime);

public static Task<bool> IsValidDateFormatAsync(this string dateTime);

public static bool IsValidDateFormat(this DateTime dateTime);

public static Task<bool> IsValidDateFormatAsync(this DateTime dateTime);

public static bool IsValidDateTime(this string dateTime);

public static Task<bool> IsValidDateTimeAsync(this string dateTime);

public static bool IsValidDateTime(this DateTime dateTime);

public static Task<bool> IsValidDateTimeAsync(this DateTime dateTime);

public static bool IsPastDateTime(this DateTime dateTime);

public static Task<bool> IsPastDateTimeAsync(this DateTime dateTime);

public static DateTime NormalizeJsonDateDeserialization(this DateTime dateTime);

public static Task<DateTime> NormalizeJsonDateDeserializationAsync(this DateTime dateTime);

public static DateTime NormalizeJsonDateTimeDeserialization(this DateTime dateTime);

public static Task<DateTime> NormalizeJsonDateTimeDeserializationAsync(this DateTime dateTime);

public static bool IsDateSequential(this DateTime StartDate, DateTime EndDate);

public static Task<bool> IsDateSequentialAsync(this DateTime StartDate, DateTime EndDate);

public static bool IsDateTimeSequential(this DateTime StartDate, DateTime EndDate);

public static Task<bool> IsDateTimeSequentialAsync(this DateTime StartDate, DateTime EndDate);

public static string MonthName(this DateTime Date);

public static Task<string> MonthNameAsync(this DateTime Date);

public static bool IsOverFlow(this DateTime Date);

public static Task<bool> IsOverFlowAsync(this DateTime Date);

public static Task<string> ConvertToISO8601Async(this string Date);

public static string ConvertToISO8601(this string Date);

public static string ConvertToISO8601(this DateTime Date);

public static Task<string> ConvertToISO8601Async(this DateTime Date);

NormalizeJsonDateDeserialization (DateTime datetime); ==> method extension takes datetime variable and preserves the correct date after a date is deserialize from json to c#. Sometimes a day is lost. is where the package becomes helpful

MonthName (DateTime datetime); ==> method extension takes datetime variable and returns the name of the month

For further enquiries, you can send mails to solutions@efuelite.com

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Framework net45 is compatible.  net451 is compatible.  net452 was computed.  net46 is compatible.  net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 is compatible.  net472 is compatible.  net48 is compatible.  net481 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.5.1

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETFramework 4.7

    • No dependencies.
  • .NETFramework 4.7.1

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • .NETFramework 4.8.1

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.15 93 1/31/2024
1.0.14 170 12/15/2023
1.0.13 147 6/21/2023
1.0.12 206 3/8/2023
1.0.11 230 2/17/2023
1.0.10 361 9/1/2022
1.0.9 399 5/30/2022
1.0.8 389 5/30/2022
1.0.7 317 11/9/2021
1.0.6 294 11/7/2021
1.0.5 468 6/22/2020

This package is given free for public use by all developers.