Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal mappedTimeUnit As TimeInterval, _ ByVal wholeTimeUnit As TimeInterval, _ ByVal timePattern As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public CalendarPattern( TimeInterval mappedTimeUnit, TimeInterval wholeTimeUnit, string timePattern ) |
Parameters
- mappedTimeUnit
- wholeTimeUnit
- timePattern
This instantiates a new CallendarPattern of a week marking the saturday and sunday.
C# | Copy Code |
---|---|
CalendarPattern newPattern = new CalendarPattern(TimeInterval.Day,TimeInterval.Week,"1000001"); |