API Reference › Duration › Duration.hours
method

Duration.hours

Duration.hours(n) -> int

A span of n hours, returned in seconds (n * 3600). Handy as a threshold for offline-progress checks.

Example

program Demo {
  handler Step phase Update {
    let full_day = Duration.hours(24)
  }
}
← All symbols