DayPilot.Duration.ofSeconds

The ofSeconds() method returns a DayPilot.Duration instance representing the specified number of seconds.

Declaration

DayPilot.Duration.ofSeconds();

Return Value

DayPilot.Duration class

Example

var second = DayPilot.Duration.ofSeconds(1);