Click or drag to resize

StiFunctionsDateWeekOfYear Method (NullableDateTime, DayOfWeek, CalendarWeekRule)

Returns the week of the year that includes the date in the specified DateTime value.

Namespace:  Stimulsoft.Report.Dictionary
Assembly:  Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax
public static long WeekOfYear(
	Nullable<DateTime> date,
	DayOfWeek firstDayOfWeek,
	CalendarWeekRule calendarWeekRule
)

Parameters

date
Type: SystemNullableDateTime

[Missing <param name="date"/> documentation for "M:Stimulsoft.Report.Dictionary.StiFunctionsDate.WeekOfYear(System.Nullable{System.DateTime},System.DayOfWeek,System.Globalization.CalendarWeekRule)"]

firstDayOfWeek
Type: SystemDayOfWeek

[Missing <param name="firstDayOfWeek"/> documentation for "M:Stimulsoft.Report.Dictionary.StiFunctionsDate.WeekOfYear(System.Nullable{System.DateTime},System.DayOfWeek,System.Globalization.CalendarWeekRule)"]

calendarWeekRule
Type: System.GlobalizationCalendarWeekRule

[Missing <param name="calendarWeekRule"/> documentation for "M:Stimulsoft.Report.Dictionary.StiFunctionsDate.WeekOfYear(System.Nullable{System.DateTime},System.DayOfWeek,System.Globalization.CalendarWeekRule)"]

Return Value

Type: Int64

[Missing <returns> documentation for "M:Stimulsoft.Report.Dictionary.StiFunctionsDate.WeekOfYear(System.Nullable{System.DateTime},System.DayOfWeek,System.Globalization.CalendarWeekRule)"]

See Also