app / de.uniks.codliners.stock_simulator / TimestampValueFormatter

TimestampValueFormatter

class TimestampValueFormatter : ValueFormatter

A timestamp value formatter that works around the graph library's float usage issue.

Constructors

<init>

A timestamp value formatter that works around the graph library's float usage issue.

TimestampValueFormatter(referenceTimestamp: Long, locale: Locale)

Functions

getFormattedValue

Transforms a float value to a date string.

fun getFormattedValue(value: Float): String