kyo-data
kyo-data
API
kyo
Ansi
highlight
Chunk
Chunk
Indexed
Duration
Units
Maybe
Defined
Empty
Empty
Ops
Result
Error
Fail
Fail
Panic
Panic
Success
TypeMap
kyo-data
/
kyo
/
Duration
Duration
kyo.Duration$package.Duration
opaque
object
Duration
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Self type
Duration
.
type
Members list
Clear all
Type members
Classlikes
enum
Units
(
val
factor
:
Double
)
Attributes
Supertypes
trait
Enum
trait
Serializable
trait
Product
trait
Equals
class
Object
trait
Matchable
class
Any
Show all
Types
opaque
type
Value
Value members
Concrete methods
def
fromJava
(
value
:
Duration
):
Duration
inline
def
fromNanos
(
value
:
Long
):
Duration
def
fromScala
(
value
:
Duration
):
Duration
def
fromUnits
(
value
:
Long
,
unit
:
Units
):
Duration
Concrete fields
val
Infinity
:
Duration
val
Zero
:
Duration
Givens
Givens
given
given_CanEqual_Duration_Duration
:
CanEqual
[
Duration
,
Duration
]
Extensions
Extensions
extension
(
self
:
Duration
)
infix inline
def
!=
(
that
:
Duration
):
Boolean
infix inline
def
*
(
factor
:
Double
):
Duration
infix inline
def
+
(
that
:
Duration
):
Duration
infix inline
def
<
(
that
:
Duration
):
Boolean
infix inline
def
<=
(
that
:
Duration
):
Boolean
infix inline
def
==
(
that
:
Duration
):
Boolean
infix inline
def
>
(
that
:
Duration
):
Boolean
infix inline
def
>=
(
that
:
Duration
):
Boolean
inline
def
max
(
that
:
Duration
):
Duration
inline
def
min
(
that
:
Duration
):
Duration
inline
def
show
:
String
inline
def
to
(
unit
:
Units
):
Long
inline
def
toDays
:
Long
inline
def
toHours
:
Long
def
toJava
:
Duration
inline
def
toMicros
:
Long
inline
def
toMillis
:
Long
inline
def
toMinutes
:
Long
inline
def
toMonths
:
Long
inline
def
toNanos
:
Long
def
toScala
:
Duration
inline
def
toSeconds
:
Long
inline
def
toWeeks
:
Long
inline
def
toYears
:
Long
In this article
Attributes
Members list
Type members
Classlikes
Types
Value members
Concrete methods
Concrete fields
Givens
Givens
Extensions
Extensions