TimeFrame

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val strRes: ERROR CLASS: Symbol not found for StringResource

Functions

Link copied to clipboard
fun isAvailable(oldestTimestampSeconds: Long, now: Long = nowSeconds): Boolean

Checks if this time frame is relevant given the oldest available data point. We show the option if the data extends at least into this timeframe.

Link copied to clipboard
fun timeThreshold(now: Long = nowSeconds): Long
Link copied to clipboard
fun valueOf(value: String): TimeFrame

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.