Kotlin v1.4.31
  • Solutions
    • Multiplatform Mobile ↗
    • Server-side ↗
    • Web frontend
    • Data science
    • Android
  • Docs
  • Community
  • Teach
  • Play
← Docs
kotlin-stdlib / kotlin.time / TimeMark / plus

plus

Common
JVM
JS
Native
1.0
open operator fun plus(duration: Duration): TimeMark

Returns a time mark on the same time source that is ahead of this time mark by the specified duration.

The returned time mark is more late when the duration is positive, and more early when the duration is negative.

  • GitHub logo
  • Twitter logo
  • Slack logo
  • Reddit logo
  • Stack Overflow logo
  • Stack Overflow logo
Contributing to Kotlin Releases Press Kit Security Blog Issue Tracker
Kotlin™ is protected under the Kotlin Foundation and licensed under the Apache 2 license. Supported and developed by JetBrains
Supported and developed by JetBrains
esc