DayPilot.Duration.ofDays

The ofDays() method returns a DayPilot.Duration instance representing the specified number of days.

Declaration

DayPilot.Duration.ofDays();

Return Value

DayPilot.Duration class

Example

var day = DayPilot.Duration.ofDays(1);