Toggle table of contents
2.x-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
xtdb-api
/
xtdb.time
/
Interval
Interval
data
class
Interval
(
val
months
:
Int
,
val
days
:
Int
,
val
nanos
:
Long
)
Members
Constructors
Interval
Link copied to clipboard
constructor
(
months
:
Int
,
days
:
Int
,
nanos
:
Long
)
constructor
(
period
:
Period
=
Period.ZERO
,
duration
:
Duration
=
Duration.ZERO
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
days
Link copied to clipboard
val
days
:
Int
duration
Link copied to clipboard
val
duration
:
Duration
months
Link copied to clipboard
val
months
:
Int
nanos
Link copied to clipboard
val
nanos
:
Long
period
Link copied to clipboard
val
period
:
Period
Functions
plus
Days
Link copied to clipboard
fun
plusDays
(
days
:
Long
)
:
Interval
plus
Hours
Link copied to clipboard
fun
plusHours
(
hours
:
Long
)
:
Interval
plus
Minutes
Link copied to clipboard
fun
plusMinutes
(
minutes
:
Long
)
:
Interval
plus
Months
Link copied to clipboard
fun
plusMonths
(
months
:
Long
)
:
Interval
plus
Seconds
Link copied to clipboard
fun
plusSeconds
(
seconds
:
Long
)
:
Interval
plus
Weeks
Link copied to clipboard
fun
plusWeeks
(
weeks
:
Long
)
:
Interval
plus
Years
Link copied to clipboard
fun
plusYears
(
years
:
Long
)
:
Interval
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String