Time.Length

Def

By generic units.

By generic units.

Creates Length specified by one or more length units in any order.

    Length(12.Hours, 45.Minutes, 999.Nanos, 5.Millis).tp
    // Output
    12 hours, 45 mins, 0.005000999 sec
Source
Length.scala
inline def fromNanos(v: Long): Time.Length

By nanoseconds

By nanoseconds

Creates Length by total nanoseconds.

   Length.fromNanos(Long.OneTrillion + 999).tp
   // Output
   16 mins, 40.000000999 secs
Source
Length.scala
@scala.annotation.threadUnsafe
final lazy val ordering: Ordering[Time.Length]
Inherited from
Ordered
Source
Ordered.scala
val typeName: String

Type name

Type name

Returns defined opaque type name

Inherited from
OpaqueBase
Source
OpaqueBase.scala

Value to Doc

Value to Doc

Override this method to provide type custom Doc implementation

Inherited from
Base
Source
Base.scala
override def value_isVoid(v: Time.Length): Boolean

Void check

Void check

Override this method to define which instances of this type are void

By default this method always returns false

If type supports void instances, then following inmpelentation should be added in most cases:

 implicit inline def implicitRequest(v:VOID): OPAQUE_TYPE
Definition Classes
Base -> Long -> OpaqueBase -> Void
Source
Length.scala
override def value_tag(v: Time.Length): String

Value to String

Value to String

Override this method to provide type custom convertion to String

Definition Classes
Base -> OpaqueBase -> Tag
Source
Length.scala

Containers

Specialized buffer

Specialized buffer

Already parameterized generic buffer

Inherited from
Containers
Source
Containers.scala

Specialized collection

Specialized collection

Already parameterized generic collection

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala

Specialized functions

Specialized functions

Already parameterized set of generic functions

Inherited from
Containers
Source
Containers.scala

Specialized indexed collection

Specialized indexed collection

Already parameterized generic indexed collection

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala

Specialized lookup collection

Specialized lookup collection

Already parameterized generic lookup collection

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala

Specialized option

Specialized option

Already parameterized generic option

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala

Specialized pack

Specialized pack

Already parameterized generic immutable collection

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala

Specialized property

Specialized property

Already parameterized generic property

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala

Parameterized Val.Promise

Parameterized Val.Promise

Already parameterized generic Val.Promise

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala

Specialized range

Specialized range

Already parameterized generic range

Inherited from
Containers
Source
Containers.scala

Parameterized Val.Result

Parameterized Val.Result

Already parameterized generic Val.Result

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala

Type alias

Type alias

Inherited from
Containers
Source
Containers.scala

Companion alias

Companion alias

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala

Specialized stream

Specialized stream

Already parameterized generic stream

Inherited from
Containers
Source
Containers.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
Containers.scala

Implicit

implicit inline def implicitRequest(v: VOID): Time.Length