httpToDate

fun httpToDate(timestamp: String): Date?

Converts an HTTP-style timestamp to a Date. The timestamp could be any of RFC 1123, RFC 1036, or C's asctime().

Throws

if none of the formats apply.