Version

NormalSpan Property (DateTimeInterval)

Returns the amount of time spanned in a cycle generated by this instance, based on the normalized span of time for the interval units with which the instance expresses itself.
Syntax
'Declaration
 
Public MustOverride ReadOnly Property NormalSpan As TimeSpan
public abstract TimeSpan NormalSpan {get;}
Remarks

The NormalSpan property is used primarily for sorting the members of the AdditionalIntervals collection, to determine the order in which their respective headers should appear, and also which ones can appear, based on the NormalSpan of the PrimaryInterval. A DateTimeInterval-derived instance whose NormalSpan property returns a span of time that is less than that of the PrimaryInterval interval is not displayed; instances whose NormalSpan property returns a span of time that is greater than another member of the collection is displayed above that member. For example, a DateInterval instance whose IntervalUnits property is set to 'Weeks' and whose Interval property is set to one is displayed above one whose IntervalUnits property is set to 'Days', unless the latter's Interval property is set to a value greater than seven, since in that case it spans a greater duration of time.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also