ofDays

fun ofDays(days: Long): Expiry

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

Throws