Time.Length

Alias

Inherited

Specialized buffer

Specialized buffer

Already parameterized generic buffer

Inherited from
Framework
Source
__.scala

Specialized collection

Specialized collection

Already parameterized generic collection

Inherited from
Framework
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
final val Fun: Long.Fun[Length]

Specialized functions

Specialized functions

Already parameterized set of generic functions

Inherited from
Framework
Source
__.scala
type Idx = Long.G.Idx[A]

Specialized indexed collection

Specialized indexed collection

Already parameterized generic indexed collection

Inherited from
Framework
Source
__.scala
final val Idx: Long.Idx[Length]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Lookup[B] = Long.G.Lookup[A, B]

Specialized lookup collection

Specialized lookup collection

Already parameterized generic lookup collection

Inherited from
Framework
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Opt = Long.G.Opt[A]

Specialized option

Specialized option

Already parameterized generic option

Inherited from
Framework
Source
__.scala
final val Opt: Long.Opt[Length]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala

Parameterized J.Ordering

Parameterized J.Ordering

Already parameterized generic J.Ordering

Inherited from
Framework
Source
__.scala
type Pro = Long.G.Pro[A]

Specialized property

Specialized property

Already parameterized generic property

Inherited from
Framework
Source
__.scala
final val Pro: Long.Pro[Length]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Promise = Promise[A]

Parameterized Val.Promise

Parameterized Val.Promise

Already parameterized generic Val.Promise

Inherited from
Framework
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Result = Result.type[A]

Parameterized Val.Result

Parameterized Val.Result

Already parameterized generic Val.Result

Inherited from
Framework
Source
__.scala
inline def Result: Ref.Result[Length]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala

Type alias

Type alias

Shortcut to Collection.StableSet

Inherited from
Framework
Source
__.scala

Companion alias

Companion alias

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala

Def

def apply(v: Length*): Length

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(inline v: Long): 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
override def isVoid(v: Length): Boolean
Definition Classes
Type -> Longs -> Type -> Void
Source
Length.scala
inline def nanosTotal: Long
override def tag(v: Length): String
Definition Classes
Source
Length.scala
def toBrief: String

Inherited

@targetName("multiply")
inline def *[A <: RAW](v: Long): A

Multiply

Multiply

Returns the product of this and given value

Inherited from
Numerical
Source
Numerical.scala
@targetName("plus")
inline def +(inline l: Length): Length
Inherited from
Nanos
Source
Nanos.scala
@targetName("plus")
inline def +[A <: RAW](v: A): A

Plus

Plus

Returns the sum of this and given value

Inherited from
Numerical
Source
Numerical.scala
@targetName("plusAll")
inline def ++(inline s: ~[Length]): Length
Inherited from
Nanos
Source
Nanos.scala
@targetName("minus")
inline def -(inline l: Length): Length
Inherited from
Nanos
Source
Nanos.scala
@targetName("minus")
inline def -[A <: RAW](v: A): A

Minus

Minus

Returns difference of this and given value

Inherited from
Numerical
Source
Numerical.scala
@targetName("minusAll")
inline def --(inline s: ~[Length]): Length
Inherited from
Nanos
Source
Nanos.scala
@targetName("divide")
inline def /[A <: RAW](v: Long): A

Divide

Divide

Returns the quotient of this and given value

Inherited from
Numerical
Source
Numerical.scala
@targetName("less")
inline def <[A <: RAW](inline v: A): Boolean

Less

Less

Returns true if current value is less than given, false - otherwise

Inherited from
Ordered
Source
Ordered.scala
@targetName("lessOrEqual")
inline def <=[A <: RAW](inline v: A): Boolean

Less or equal

Less or equal

Returns true if current value is less or equal to given, false - otherwise

Inherited from
Ordered
Source
Ordered.scala
@targetName("rangeX")
inline def <>>[A <: RAW](inline to: A): Long.G.<>[A]

Exclusive end range

Exclusive end range

Returns Range from current to given value exclusive

Note. Range uses base primitive natural ordering

Inherited from
Ordered
Source
Ordered.scala
@targetName("greater")
inline def >[A <: RAW](inline v: A): Boolean

Greater

Greater

Returns true if current value is greater than given, false - otherwise

Inherited from
Ordered
Source
Ordered.scala
@targetName("greaterOrEqual")
inline def >=[A <: RAW](inline v: A): Boolean

Greater or equal

Greater or equal

Returns true if current value is greater or equal to given, false - otherwise

Inherited from
Ordered
Source
Ordered.scala
inline def abs[A <: RAW]: A

Absolute value

Absolute value

Returns non negative value

Inherited from
Numerical
Source
Numerical.scala
inline def atLeast[A <: RAW](v: A): A

Max

Max

Returns maximum of current or given value

Inherited from
Ordered
Source
Ordered.scala
inline def atMost[A <: RAW](v: A): A

Min

Min

Returns minimun of current or given value

Inherited from
Ordered
Source
Ordered.scala
inline def daysTotal: Long

Day count

Day count

Total days (24.Hours) which fit in this time unit

Inherited from
Nanos
Source
Nanos.scala
inline def emptyArray: Array[Length]

Empty array

Empty array

Returns singleton scala.Array.emptyLongArray

Inherited from
Framework
Source
__.scala
inline def hours: Long

Hours remainder

Hours remainder

Hours remainder when rounded by whole day (24 hours)

Value range is from 0 to 23

Inherited from
Nanos
Source
Nanos.scala
inline def hoursTotal: Long

Hours count

Hours count

Total hours which fit in this time unit

Inherited from
Nanos
Source
Nanos.scala
def info(v: Length): Info

Type to Info

Type to Info

Override this method to provide type standard Info implementation

Inherited from
Type
Source
Type.scala
final def isRef: Boolean
Inherited from
Type
Source
Type.scala
@threadUnsafe
final lazy val math: Long.G.Math[Length]
Inherited from
Numerical
Source
Numerical.scala
inline def micros: Long

Microseconds remainder

Microseconds remainder

Microseconds remainder when rounded by whole millisecond

Value range is from 0 to 999

Inherited from
Nanos
Source
Nanos.scala
inline def microsTotal: Long

Microseconds count

Microseconds count

Total microseconds which fit in this time unit

Inherited from
Nanos
Source
Nanos.scala
inline def millis: Long

Milliseconds remainder

Milliseconds remainder

Milliseconds remainder when rounded by whole second

Value range is from 0 to 999

Inherited from
Nanos
Source
Nanos.scala
@targetName("millisTotal")
def millisTotal: Long

Milliseconds count

Milliseconds count

Total milliseconds which fit in this time unit

Inherited from
Nanos
Source
Nanos.scala
inline def minutes: Long

Minutes remainder

Minutes remainder

Minutes remainder when rounded by whole hour

Value range is from 0 to 59

Inherited from
Nanos
Source
Nanos.scala
inline def minutesTotal: Long

Minutes count

Minutes count

Total minutes which fit in this time unit

Inherited from
Nanos
Source
Nanos.scala
val name: String
Inherited from
Type
Source
__.scala
inline def nanos: Long

Nanoseconds remainder

Nanoseconds remainder

Nanoseconds remainder when rounded by whole microsecond

Value range is from 0 to 999

Inherited from
Nanos
Source
Nanos.scala
@threadUnsafe
Inherited from
Ordered
Source
Ordered.scala
inline def real: Long
Inherited from
Type
Source
__.scala
@targetName("roundTo")
def roundTo(l: Length)(using r: Rounding): Length
Inherited from
Nanos
Source
Nanos.scala
inline def seconds: Long

Seconds remainder

Seconds remainder

Seconds remainder when rounded by whole minute

Value range is from 0 to 59

Inherited from
Nanos
Source
Nanos.scala
inline def secondsTotal: Long

Seconds count

Seconds count

Total seconds which fit in this time unit

Inherited from
Nanos
Source
Nanos.scala
inline def weeksTotal: Long
Inherited from
Nanos
Source
Nanos.scala