EssentialsTime.GetEndOfMonth method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll

GetEndOfMonth()

Gets a new instance of EssentialsTime representing the end of the month.

public EssentialsTime GetEndOfMonth()

Returns

An instance of EssentialsTime.

GetEndOfMonth(TimeZoneInfo)

Gets a new instance of EssentialsTime representing the end of the month.

The end of the month will be adjusted according to the time zone and daylight saving.

public EssentialsTime GetEndOfMonth(TimeZoneInfo timeZone)

Parameters

timeZone TimeZoneInfo

The time zone for which the time will be adjusted.

Returns

An instance of EssentialsTime.