DateTimeFormatter extension

Extension on DateTime to format it to WMATA API format.

on

Methods

toWmataString() → String

Available on DateTime, provided by the DateTimeFormatter extension

Formats the DateTime to WMATA API format.
toWmataStringDateOnly() → String

Available on DateTime, provided by the DateTimeFormatter extension

Formats the DateTime to WMATA API format, but only the date.
toWmataStringTimeOnly() → String

Available on DateTime, provided by the DateTimeFormatter extension

Formats the DateTime to WMATA API format, but only the time.