See Also

CalendarPattern Class  | CalendarPattern Members  | Overload List

Language

Visual Basic

C#

Show All

mappedTimeUnit
The time unit represented by each boolean value.
wholeTimeUnit
Time unit represented by the pattern array.
timePattern
Time pattern string. i.e. "01101"
See Also Languages dotnetCHARTING Send comments on this topic.

CalendarPattern Constructor(TimeInterval,TimeInterval,String)

Initializes a new instance of the CalendarPattern class with time units and a string pattern.

[Visual Basic]
Public Function New( _    ByVal mappedTimeUnit As TimeInterval, _    ByVal wholeTimeUnit As TimeInterval, _    ByVal timePattern As String _ )
[C#]
public CalendarPattern(    TimeInterval mappedTimeUnit,    TimeInterval wholeTimeUnit,    string timePattern );

Parameters

mappedTimeUnit
The time unit represented by each boolean value.
wholeTimeUnit
Time unit represented by the pattern array.
timePattern
Time pattern string. i.e. "01101"

Example

This instantiates a new CallendarPattern of a week marking the saturday and sunday.

[C#] 

CalendarPattern newPattern = new CalendarPattern(TimeInterval.Day,TimeInterval.Week,"1000001");

See Also

CalendarPattern Class  | CalendarPattern Members  | Overload List

 

 


2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.