Functions for text formatting.
This returns the station name, or the platform number represented as X號月台|Platform X
(Where X is the platform number) if the associated platform does not have a station.
Obtain a MTR-formatted ETA text similar to those seen in PIDS.
Parameters:
arrivalMillis
- Epoch time in millisecond where the countdown would reaches 0mode
-S
to obtain the string in Second,M
for minute,H
for hour,D
for day,A (Or unfilled)
for automatic time unit.