TimeUtils.GetStartOfWeek method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time |
---|---|
Assembly | Skybrud.Essentials.dll |
GetStartOfWeek(DateTimeOffset)
Static
public static DateTimeOffset GetStartOfWeek(DateTimeOffset time)
Parameters
time
DateTimeOffset
Returns
GetStartOfWeek(DateTimeOffset, DayOfWeek)
Static
public static DateTimeOffset GetStartOfWeek(DateTimeOffset time, DayOfWeek startOfWeek)
Returns
GetStartOfWeek(DateTimeOffset, TimeZoneInfo)
Static
public static DateTimeOffset GetStartOfWeek(DateTimeOffset time, TimeZoneInfo timeZone)
Returns
GetStartOfWeek(DateTimeOffset, TimeZoneInfo, DayOfWeek)
Static
public static DateTimeOffset GetStartOfWeek(DateTimeOffset time, TimeZoneInfo timeZone, DayOfWeek startOfWeek)