TimeUtils.GetEndOfWeek method

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

GetEndOfWeek(DateTimeOffset)

Static
public static DateTimeOffset GetEndOfWeek(DateTimeOffset time)

Parameters

Returns

GetEndOfWeek(DateTimeOffset, DayOfWeek)

Static
public static DateTimeOffset GetEndOfWeek(DateTimeOffset time, DayOfWeek startOfWeek)

Parameters

startOfWeek DayOfWeek

Returns

GetEndOfWeek(DateTimeOffset, TimeZoneInfo)

Static
public static DateTimeOffset GetEndOfWeek(DateTimeOffset time, TimeZoneInfo timeZone)

Parameters

timeZone TimeZoneInfo

Returns

GetEndOfWeek(DateTimeOffset, TimeZoneInfo, DayOfWeek)

Static
public static DateTimeOffset GetEndOfWeek(DateTimeOffset time, TimeZoneInfo timeZone, DayOfWeek startOfWeek)

Parameters

timeZone TimeZoneInfo
startOfWeek DayOfWeek

Returns