final class PreciseDuration extends AnyVal with Util.Time.Like.Core.A.Nanos with Util.Time.Like.Length[Util.Time.PreciseDuration] with Any.Datum.Long.Computable[Util.Time.PreciseDuration]

Ordering
  1. Alphabetic
Inherited
  1. PreciseDuration
  2. Any.Datum.Long.Computable
  3. Any.Datum.Z.Computable
  4. Any.Datum.Long.Ordered
  5. Any.Datum.Z.Ordered
  6. Any.Datum.Long
  7. Custom.Number.Like
  8. Any.Datum
  9. Any.Wrap
  10. Util.Time.Like.Length
  11. Util.Time.Like.Core.A.Nanos
  12. Util.Time.Like.Core
  13. scala.AnyVal
  14. scala.Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Constant

  1. val real: Long
    Attributes
    protected
    Definition Classes
    PreciseDuration_Trait_Trait

Method

  1. def abs: PreciseDuration

    Absolute value

    Absolute value

    Returns absolute value of this

    Definition Classes
    _Trait → Computable
  2. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  3. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  4. def make(v: Long): PreciseDuration
    Attributes
    protected
    Definition Classes
    _Trait_Trait
  5. def max(v: PreciseDuration): PreciseDuration

    Maximum value

    Maximum value

    Returns maximum of this and provided value

    Definition Classes
    _Trait → Ordered
  6. def min(v: PreciseDuration): PreciseDuration

    Minimum value

    Minimum value

    Returns minimum of this and provided value

    Definition Classes
    _Trait → Ordered
  7. def realNumber: Long
    Attributes
    protected
    Definition Classes
    _TraitLike
  8. def round(l: Util.Time.Duration, r: Custom.Rounding = \/): PreciseDuration
    Definition Classes
    PreciseDurationLength
  9. def setup: PreciseDuration.type
    Attributes
    protected
    Definition Classes
    PreciseDuration_Trait_Trait_Trait
  10. def subHours: Util.Time.Hours

    Hours remainder.

    Hours remainder.

    Hours remainder when rounded by whole day (24 hours).

    Value range is from 0 to 23

    Definition Classes
    _Trait
  11. def subMicros: Util.Time.Micros

    Microseconds remainder.

    Microseconds remainder.

    Microseconds remainder when rounded by whole millisecond.

    Value range is from 0 to 999

    Definition Classes
    Nanos_Trait
  12. def subMillis: Util.Time.Millis

    Milliseconds remainder.

    Milliseconds remainder.

    Milliseconds remainder when rounded by whole second.

    Value range is from 0 to 999

    Definition Classes
    _Trait
  13. def subMinutes: Util.Time.Minutes

    Minutes remainder.

    Minutes remainder.

    Minutes remainder when rounded by whole hour.

    Value range is from 0 to 59

    Definition Classes
    _Trait
  14. def subNanos: Util.Time.Nanos

    Nanoseconds remainder.

    Nanoseconds remainder.

    Nanoseconds remainder when rounded by whole microsecond.

    Value range is from 0 to 999

    Definition Classes
    Nanos_Trait
  15. def subSeconds: Util.Time.Seconds

    Seconds remainder.

    Seconds remainder.

    Seconds remainder when rounded by whole minute.

    Value range is from 0 to 59

    Definition Classes
    _Trait
  16. def toBrief: String

    Short description.

    Short description.

    Converts Length to short String description.

    Duration.make(10.Hours, 15.Seconds, 45.Minutes).brief(1.Minute).lp
    // Output
    10h, 45m
    Definition Classes
    Length
  17. def toDuration: Util.Time.Duration

    To regular Duration

    To regular Duration

    Converts this PreciseDuration to regular Duration.

    Definition Classes
    PreciseDuration
  18. def toString(): String
    Definition Classes
    PreciseDuration → Any
  19. def totalDays: Util.Time.Days

    Day count.

    Day count.

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

    Definition Classes
    Nanos_Trait
  20. def totalHours: Util.Time.Hours

    Hours count.

    Hours count.

    Total hours which fit in this time unit.

    Definition Classes
    Nanos_Trait
  21. def totalMicros: Util.Time.Micros

    Microseconds count.

    Microseconds count.

    Total microseconds which fit in this time unit.

    Definition Classes
    Nanos_Trait
  22. def totalMillis: Util.Time.Millis

    Milliseconds count.

    Milliseconds count.

    Total milliseconds which fit in this time unit.

    Definition Classes
    Nanos_Trait
  23. def totalMinutes: Util.Time.Minutes

    Minutes count.

    Minutes count.

    Total minutes which fit in this time unit.

    Definition Classes
    Nanos_Trait
  24. def totalNanos: Util.Time.Nanos

    Nanoseconds count.

    Nanoseconds count.

    Total nanoseconds which fit in this time unit.

    Note: Maximum duration expressed in nanoseconds is "7331 days, 10 hours, 50 mins, 44.854775807 secs". Unboxed over will cause problems.

    Definition Classes
    PreciseDurationNanos_Trait
  25. def totalSeconds: Util.Time.Seconds

    Seconds count.

    Seconds count.

    Total seconds which fit in this time unit.

    Definition Classes
    Nanos_Trait

Operator

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def %@(v: PreciseDuration): Util.Percent

    Percent At

    Percent At

    Returns percentage of this compared to v

    Definition Classes
    _Trait → Computable
  4. def *(v: Long): PreciseDuration

    Multiply by

    Multiply by

    Returns a new value, which is this value multiplied by v

    Definition Classes
    _Trait
  5. def *(v: Int): PreciseDuration

    Multiply by

    Multiply by

    Returns a new value, which is this value multiplied by v

    Definition Classes
    _Trait
  6. def +(p: Percent): PreciseDuration

    Add percent

    Add percent

    Returns a new value, which is this with added percent of this

    Definition Classes
    _Trait → Computable
  7. def +(v: PreciseDuration, V: \/ = \/): PreciseDuration

    Add value

    Add value

    Returns a new value, which is an addition of this and v

    Definition Classes
    _Trait → Computable
  8. def -(p: Percent): PreciseDuration

    Subtract percent

    Subtract percent

    Returns a new value, which is this with subtracted percent of this

    Definition Classes
    _Trait → Computable
  9. def -(v: PreciseDuration, V: \/ = \/): PreciseDuration

    Subtract value

    Subtract value

    Returns a new value, which is a subtraction of v from this

    Definition Classes
    _Trait → Computable
  10. def /(v: Long): PreciseDuration

    Divide by

    Divide by

    Returns a new value, which is this value divided by v

    Definition Classes
    _Trait
  11. def /(v: Int): PreciseDuration

    Divide by

    Divide by

    Returns a new value, which is this value divided by v

    Definition Classes
    _Trait
  12. def <(v: PreciseDuration): Boolean

    Is less test

    Is less test

    Returns true if this is less than v, false otherwise

    Definition Classes
    _Trait → Ordered
  13. def <=(v: PreciseDuration): Boolean

    Is less or equal test

    Is less or equal test

    Returns true if this is less or equal to v, false otherwise

    Definition Classes
    _Trait → Ordered
  14. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  15. def >(v: PreciseDuration): Boolean

    Is greater test

    Is greater test

    Returns true if this is greater than v, false otherwise

    Definition Classes
    _Trait → Ordered
  16. def >=(v: PreciseDuration): Boolean

    Is greater or equal test

    Is greater or equal test

    Returns true if this is greater or equal to v, false otherwise

    Definition Classes
    _Trait → Ordered