SampleData

interface SampleData

Base interface for sample data.

All sample data has UNIX-timestamp of beginning and ending of sample. Difference between beginning and end must be up to group size in minutes * 60.

Properties

Link copied to clipboard
abstract val timestampEnd: Timestamp

End of the sample in UNIX-timestamp.

Link copied to clipboard
abstract val timestampStart: Timestamp

Beginning of the sample in UNIX-timestamp.

Inheritors

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

Extensions

Link copied to clipboard
fun SampleData.getSampleDuration(units: TimeUnit = TimeUnit.SECONDS): Long

Returns sample duration in specified units. Default units: TimeUnit.SECONDS.