BaseLastDataField

open class BaseLastDataField(val updateTimeUtc: Instant?)

Base class for last data fields

Inheritors

Constructors

Link copied to clipboard
constructor(updateTimeUtc: Instant?)

Properties

Link copied to clipboard

the timestamp of the associated data

Functions

Link copied to clipboard
fun getDataFreshness(instant: Instant): Long?

Gets duration in seconds between updateTimeUtc and instant