DateTimeFormatter extension
Extension on DateTime to format it to WMATA API format.
- on
Methods
-
toWmataString(
) → String - Formats the DateTime to WMATA API format.
-
toWmataStringDateOnly(
) → String - Formats the DateTime to WMATA API format, but only the date.
-
toWmataStringTimeOnly(
) → String - Formats the DateTime to WMATA API format, but only the time.