toWmataStringTimeOnly method

String toWmataStringTimeOnly()

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

The WMATA API format is a string in the format of HH:mm:ss.

Implementation

String toWmataStringTimeOnly() {
  final String str = toWmataString();
  return str.substring(str.indexOf('T') + 1);
}