DayPilot.Duration.ofWeeks

The ofWeeks() method returns a DayPilot.Duration instance representing the specified number of weeks.

Declaration

DayPilot.Duration.ofWeeks();

Return Value

DayPilot.Duration class

Example

var hour = DayPilot.Duration.ofWeeks(1);