fix issues in core
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { WeekdaySet } from './WeekdaySet';
|
||||
import { MonthlyRecurrencePattern } from './MonthlyRecurrencePattern';
|
||||
import { RecurrenceStrategy } from './RecurrenceStrategy';
|
||||
|
||||
export class RecurrenceStrategyFactory {
|
||||
static weekly(weekdays: WeekdaySet): RecurrenceStrategy {
|
||||
return RecurrenceStrategy.weekly(weekdays);
|
||||
}
|
||||
|
||||
static everyNWeeks(intervalWeeks: number, weekdays: WeekdaySet): RecurrenceStrategy {
|
||||
return RecurrenceStrategy.everyNWeeks(intervalWeeks, weekdays);
|
||||
}
|
||||
|
||||
static monthlyNthWeekday(pattern: MonthlyRecurrencePattern): RecurrenceStrategy {
|
||||
return RecurrenceStrategy.monthlyNthWeekday(pattern);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user