EssentialsMonth.GetPrevious method
Version 1.1.28
.NET Framework 4.8
| Namespace | Skybrud.Essentials.Time |
|---|---|
| Assembly | Skybrud.Essentials.dll |
GetPrevious()
Returns a new instance representing the previous month, according to the local time zone.
public EssentialsMonth GetPrevious()
Returns
An instance of EssentialsMonth.
GetPrevious(TimeZoneInfo)
Returns a new instance representing the previous month, according to the specified timeZone.
public EssentialsMonth GetPrevious(TimeZoneInfo timeZone)
Parameters
timeZone
TimeZoneInfo
The time zone to be used for calculating the start and end dates.
Returns
An instance of EssentialsMonth.