WeekSpan Property

The WeekSpan Property sets or returns how to treat a week that spans two years.

Syntax

object .WeekSpan

Applies To

DateDrillDown Object

DateWizard Object

Discussion

If a time dimension contains a week level based on a calendar year, the last week will probably not end on the same day as the year ends. (A lunar year always ends at the end of the week.) WeekSpan specifies how to shift or split up the last week of a year.

This property uses the values of xtrWeekSpan.

A COM exception is thrown in error situations. The message that is passed with the exception varies depending on the error situation.

Type

Constant - xtrWeekSpan

Access

Read/Write (DateDrillDown)

Write (DateWizard)

Examples

objDateWizard = objModel.DateWizardobjDateWizard.WeekSpan
= xtrWeekSpan.trWeekSpanNone