ofHours

fun ofHours(hours: Long): Expiry

The document will expire after the given number of hours. Shorthand for Expiry.of(Duration.ofHours(x))

Throws