data class AmPmIndicatorStringResolver(instantMilliseconds: Long) : StringResolver

A StringResolver that takes a date time value in milliseconds and resolves that to the String representation of an AM or PM indicator.

The indicator is determined by the Context's 24 hour format preference. When a 24 hour format should be used, an empty string is returned.


Link copied to clipboard
constructor(instantMilliseconds: Long)


Link copied to clipboard
open override fun get(context: Context): String

Resolves a String based on the given Context. The resulting value may differ per Context. E.g. due to differing locales.

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)