Minor: fix toJavaDuration docs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
@@ -24,7 +24,7 @@ public inline fun java.time.Duration.toKotlinDuration(): Duration =
|
||||
|
||||
|
||||
/**
|
||||
* Converts [kotlin.time.Duration][Duration] value to value [java.time.Duration][java.time.Duration].
|
||||
* Converts [kotlin.time.Duration][Duration] value to [java.time.Duration][java.time.Duration] value.
|
||||
*
|
||||
* Durations greater than [Long.MAX_VALUE] seconds are cut to that value.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user