encodeDate function

Iterable<String> encodeDate(
  1. DateTime d
)

Encodes a DateTime to a iterable of string in HTTP date format.

Implementation

Iterable<String> encodeDate(final DateTime d) => [formatHttpDate(d)];