Click or drag to resize

DateTimeFieldMathSetFieldValue Method (DateTimeOffset, DateTimeFieldEnum, Int32)

[Missing <summary> documentation for "M:com.espertech.esper.compat.datetime.DateTimeFieldMath.SetFieldValue(System.DateTimeOffset,com.espertech.esper.compat.datetime.DateTimeFieldEnum,System.Int32)"]

Namespace:  com.espertech.esper.compat.datetime
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
public static DateTimeOffset SetFieldValue(
	this DateTimeOffset dateTime,
	DateTimeFieldEnum field,
	int value
)

Parameters

dateTime
Type: SystemDateTimeOffset

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

field
Type: com.espertech.esper.compat.datetimeDateTimeFieldEnum

[Missing <param name="field"/> documentation for "M:com.espertech.esper.compat.datetime.DateTimeFieldMath.SetFieldValue(System.DateTimeOffset,com.espertech.esper.compat.datetime.DateTimeFieldEnum,System.Int32)"]

value
Type: SystemInt32

[Missing <param name="value"/> documentation for "M:com.espertech.esper.compat.datetime.DateTimeFieldMath.SetFieldValue(System.DateTimeOffset,com.espertech.esper.compat.datetime.DateTimeFieldEnum,System.Int32)"]

Return Value

Type: DateTimeOffset

[Missing <returns> documentation for "M:com.espertech.esper.compat.datetime.DateTimeFieldMath.SetFieldValue(System.DateTimeOffset,com.espertech.esper.compat.datetime.DateTimeFieldEnum,System.Int32)"]

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