TimeFormatter

typealias TimeFormatter = (date: JulianDate, viewModel: AnimationViewModel) -> String(source)

A function that formats a time for display.

Parameters

date

The date to be formatted

viewModel

The AnimationViewModel instance requesting formatting.

See also