method
Duration.as_minutes
Duration.as_minutes(span) -> int
The span expressed in whole minutes, truncated toward zero (span / 60).
Example
program Demo {
handler Step phase Update {
let m = Duration.as_minutes(Duration.hours(2)) # 120
}
}