TimeRange.Companion
object TimeRange.Companion
Summary
Public functions |
|
---|---|
TimeRange |
Constructs a time range after a given point in time. |
TimeRange |
Constructs a time range until a given point in time. |
TimeRange |
Constructs a time range between two points in time, inclusive of the points themselves. |
Public functions
after
fun after(startInstant: Instant): TimeRange
Constructs a time range after a given point in time.
before
fun before(endInstant: Instant): TimeRange
Constructs a time range until a given point in time.
between
fun between(startInstant: Instant, endInstant: Instant): TimeRange
Constructs a time range between two points in time, inclusive of the points themselves.