sheets-compose-dialogs
androidJvm
duration
/
com.maxkeppeler.sheets.duration.utils
Package-level
declarations
Types
Functions
Properties
Types
Label
Link copied to clipboard
data
class
Label
(
@
StringRes
val
short
:
Int
,
@
StringRes
val
long
:
Int
)
Time
Info
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
data
class
TimeInfo
(
val
days
:
Long
=
0
,
val
hours
:
Long
=
0
,
val
minutes
:
Long
=
0
,
val
seconds
:
Long
=
0
)
Helper class to store time units.
Functions
split
Time
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
fun
splitTime
(
timeInSeconds
:
Long
)
:
TimeInfo
Splits seconds into days, hours, minutes and seconds.
Properties
labels
Link copied to clipboard
val
labels
:
List
<
Label
>