toggle menu
Telemetry
android
common
ios
switch theme
search in API
time
/
cz.magicware.time
Package-level
declarations
Functions
Functions
add
Days
Link copied to clipboard
fun
Instant
.
addDays
(
days
:
Int
)
:
Instant
add
Hours
Link copied to clipboard
fun
Instant
.
addHours
(
hours
:
Int
)
:
Instant
add
Minutes
Link copied to clipboard
fun
Instant
.
addMinutes
(
minutes
:
Int
)
:
Instant
add
Seconds
Link copied to clipboard
fun
Instant
.
addSeconds
(
seconds
:
Int
)
:
Instant
ceil
Days
Link copied to clipboard
fun
Instant
.
ceilDays
(
)
:
Instant
ceil
Hours
Link copied to clipboard
fun
Instant
.
ceilHours
(
)
:
Instant
ceil
Minutes
Link copied to clipboard
fun
Instant
.
ceilMinutes
(
)
:
Instant
ceil
Seconds
Link copied to clipboard
fun
Instant
.
ceilSeconds
(
)
:
Instant
days
Until
Link copied to clipboard
fun
Instant
.
daysUntil
(
other
:
Instant
)
:
Int
floor
Days
Link copied to clipboard
fun
Instant
.
floorDays
(
)
:
Instant
floor
Hours
Link copied to clipboard
fun
Instant
.
floorHours
(
)
:
Instant
floor
Minutes
Link copied to clipboard
fun
Instant
.
floorMinutes
(
)
:
Instant
floor
Seconds
Link copied to clipboard
fun
Instant
.
floorSeconds
(
)
:
Instant
months
Until
Link copied to clipboard
fun
Instant
.
monthsUntil
(
other
:
Instant
)
:
Int
now
Link copied to clipboard
fun
now
(
)
:
Instant
period
Until
Link copied to clipboard
fun
Instant
.
periodUntil
(
other
:
Instant
)
:
DateTimePeriod
to
Date
Link copied to clipboard
ios
fun
Instant
.
toDate
(
)
:
NSDate
today
Link copied to clipboard
fun
today
(
)
:
Instant
to
Instant
Link copied to clipboard
common
ios
fun
LocalDateTime
.
toInstant
(
)
:
Instant
fun
NSDate
.
toInstant
(
)
:
Instant
to
Kotlinx
Instant
Link copied to clipboard
android
fun
Date
.
toKotlinxInstant
(
)
:
Instant
to
Local
Date
Time
Link copied to clipboard
fun
Instant
.
toLocalDateTime
(
)
:
LocalDateTime
years
Until
Link copied to clipboard
fun
Instant
.
yearsUntil
(
other
:
Instant
)
:
Int