Click or drag to resize

DateTimeMathMoveToWeek Method (DateTimeOffset, Int32, TimeZoneInfo)

[Missing <summary> documentation for "M:com.espertech.esper.compat.datetime.DateTimeMath.MoveToWeek(System.DateTimeOffset,System.Int32,System.TimeZoneInfo)"]

Namespace:  com.espertech.esper.compat.datetime
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
public static DateTimeOffset MoveToWeek(
	this DateTimeOffset dateTime,
	int targetWeek,
	TimeZoneInfo timeZone = null
)

Parameters

dateTime
Type: SystemDateTimeOffset

[Missing <param name="dateTime"/> documentation for "M:com.espertech.esper.compat.datetime.DateTimeMath.MoveToWeek(System.DateTimeOffset,System.Int32,System.TimeZoneInfo)"]

targetWeek
Type: SystemInt32

[Missing <param name="targetWeek"/> documentation for "M:com.espertech.esper.compat.datetime.DateTimeMath.MoveToWeek(System.DateTimeOffset,System.Int32,System.TimeZoneInfo)"]

timeZone (Optional)
Type: SystemTimeZoneInfo

[Missing <param name="timeZone"/> documentation for "M:com.espertech.esper.compat.datetime.DateTimeMath.MoveToWeek(System.DateTimeOffset,System.Int32,System.TimeZoneInfo)"]

Return Value

Type: DateTimeOffset

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

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DateTimeOffset. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also