fromDaysSinceUnixEpoch

fun fromDaysSinceUnixEpoch(days: Days): Date

Creates a Date from a duration of days relative to the Unix epoch of 1970-01-01.

Parameters

days

the number of days relative to the Unix epoch

Throws

if outside of the supported date range