WeatherFormatter
interface WeatherFormatter
Interface used to format weather strings.
Functions
Link copied to clipboard
Format feels-like temperature.
Link copied to clipboard
Format precipitation chance. Return null if you don't want precipitation chance to be displayed.
Link copied to clipboard
Format high temperature.
Link copied to clipboard
Format low temperature.
Link copied to clipboard
abstract fun formatTemperatureNow(now: Int, temperatureUnit: TemperatureUnit, locale: Locale): String
Format current temperature, short version, full version.
Link copied to clipboard
Format current temperature, short version.