EssentialsPeriod.Yesterday method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time |
---|---|
Assembly | Skybrud.Essentials.dll |
Yesterday()
Static
Returns a EssentialsPeriod representing the the day before the current day and according to the local time zone.
public static EssentialsPeriod Yesterday()
Returns
An instance of EssentialsPeriod.
Yesterday(TimeZoneInfo)
Static
Returns a EssentialsPeriod representing the the day before the current day and according to
the timeZone
.
public static EssentialsPeriod Yesterday(TimeZoneInfo timeZone)
Parameters
timeZone
TimeZoneInfo
Returns
An instance of EssentialsPeriod.
Yesterday(DateTimeOffset, TimeZoneInfo)
Static
Returns a EssentialsPeriod representing the the day before the day of
timestamp
and according to the timeZone
.
public static EssentialsPeriod Yesterday(DateTimeOffset timestamp, TimeZoneInfo timeZone)
Returns
An instance of EssentialsPeriod.