openpss / com.hendraanggrian.openpss.ui.wage / IntervalWrapper

IntervalWrapper

class IntervalWrapper : ReadableInterval, Serializable

An Interval wrapper where start time may be bigger than end time, making the time difference value negative. Such behavior is currently unsupported with Interval constructor.

Properties

hours

val hours: Double

minutes

val minutes: Int

Functions

overlap

fun overlap(other: Interval): Interval?

Companion Object Functions

of

fun of(start: ReadableInstant, end: ReadableInstant): IntervalWrapper