EstimatedTimeToArrivalFormatter
class EstimatedTimeToArrivalFormatter( context: Context, timeFormatType: Int = TimeFormat.NONE_SPECIFIED) : ValueFormatter<Long, SpannableString>
Deprecated
This formatter is unable to format ETA with respect to destination time zone, use EstimatedTimeOfArrivalFormatter instead
Formats trip related data for displaying in the UI
Parameters
context
an application context instance
timeFormatType
a value indicating whether the time should be formatted in 12 or 24 hour format
Functions
Link copied to clipboard
Formats an update to a SpannableString representing the estimated time to arrival