Usage

This page explains how to utilize the TimeFormatterUtil class in your code to format time durations in milliseconds or seconds.

To format milliseconds to a string representation with a time format.

getInstance().getTimeFormatter().toTimeFromMillis(long);

To format seconds to a string representation with a time format.

getInstance().getTimeFormatter().toTime(long);

Last updated