A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scala-lang.org/api/3.x/scala/jdk/javaapi/DurationConverters$.html below:

DurationConverters

scala.jdk.javaapi.DurationConverters

This object contains methods that convert between Scala and Java duration types.

The explicit conversion methods defined here are intended to be used in Java code. For Scala code, it is recommended to use the extension methods defined in scala.jdk.DurationConverters.

Attributes
Source
DurationConverters.scala
Graph
Supertypes
Self type
Members list

Convert a Scala FiniteDuration to a Java duration.

Convert a Scala FiniteDuration to a Java duration. Note that the Scala duration keeps the time unit it was created with, while a Java duration always is a pair of seconds and nanos, so the unit it lost.

Attributes
Source
DurationConverters.scala

Convert a Java duration to a Scala duration.

Convert a Java duration to a Scala duration. If the nanosecond part of the Java duration is zero, the returned duration will have a time unit of seconds. If there is a nanoseconds part, the Scala duration will have a time unit of nanoseconds.

Attributes
Throws
Source
DurationConverters.scala

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4