DayPilot.Duration.ofHours

The ofHours() method returns a DayPilot.Duration instance representing the specified number of hours.

Declaration

DayPilot.Duration.ofHours();

Return Value

DayPilot.Duration class

Example

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