toFxDuration

inline fun Duration.toFxDuration(): Duration

Returns this kotlin.time.Duration as a JavaFX Duration.