Verdandi
Toggle table of contents
0.1.1
common
Target filter
common
Switch theme
Search in API
Skip to content
Verdandi
Verdandi
/
com.github.abraga.verdandi.api.model.duration
/
DateTimeDuration
Date
Time
Duration
@
JvmInline
value
class
DateTimeDuration
:
Comparable
<
DateTimeDuration
>
Members
Types
Companion
Link copied to clipboard
object
Companion
Properties
date
Link copied to clipboard
val
date
:
DateDuration
days
Link copied to clipboard
val
days
:
Int
hours
Link copied to clipboard
val
hours
:
Int
in
Whole
Milliseconds
Link copied to clipboard
val
inWholeMilliseconds
:
Long
is
Zero
Link copied to clipboard
val
isZero
:
Boolean
minutes
Link copied to clipboard
val
minutes
:
Int
months
Link copied to clipboard
val
months
:
Int
seconds
Link copied to clipboard
val
seconds
:
Int
time
Link copied to clipboard
val
time
:
Duration
weeks
Link copied to clipboard
val
weeks
:
Int
years
Link copied to clipboard
val
years
:
Int
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
DateTimeDuration
)
:
Int
div
Link copied to clipboard
operator
fun
div
(
scalar
:
Int
)
:
DateTimeDuration
formatted
Link copied to clipboard
fun
formatted
(
includeSubSeconds
:
Boolean
=
true
,
unitSeparator
:
String
=
""
,
componentSeparator
:
String
=
" "
)
:
String
minus
Link copied to clipboard
operator
fun
minus
(
other
:
DateDuration
)
:
DateTimeDuration
operator
fun
minus
(
other
:
DateTimeDuration
)
:
DateTimeDuration
operator
fun
minus
(
other
:
Duration
)
:
DateTimeDuration
plus
Link copied to clipboard
operator
fun
plus
(
other
:
DateDuration
)
:
DateTimeDuration
operator
fun
plus
(
other
:
DateTimeDuration
)
:
DateTimeDuration
operator
fun
plus
(
other
:
Duration
)
:
DateTimeDuration
times
Link copied to clipboard
operator
fun
times
(
scalar
:
Int
)
:
DateTimeDuration
to
Duration
Link copied to clipboard
fun
toDuration
(
)
:
Duration
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
unary
Minus
Link copied to clipboard
operator
fun
unaryMinus
(
)
:
DateTimeDuration