Click or drag to resize

DateTimeMathMoveToDayOfWeek Method

Returns a datetime for the week given on the specified day of the week.

Namespace:  com.espertech.esper.compat.datetime
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
public static DateTimeOffset MoveToDayOfWeek(
	DateTimeOffset from,
	DayOfWeek dayOfWeek
)

Parameters

from
Type: SystemDateTimeOffset
From.
dayOfWeek
Type: SystemDayOfWeek
The day of week.

Return Value

Type: DateTimeOffset

[Missing <returns> documentation for "M:com.espertech.esper.compat.datetime.DateTimeMath.MoveToDayOfWeek(System.DateTimeOffset,System.DayOfWeek)"]

See Also