final class DayTime extends AnyVal with Util.Time.Like.Core.A.Millis with Any.Datum.Int.Computable[Util.Time.DayTime]

Time within Day

DayTime can be better understood as Duration passed from midnight.

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

Constant

  1. val real: Int
    Definition Classes
    DayTime_Trait_Trait

Method

  1. def abs: DayTime

    Absolute value

    Absolute value

    Returns absolute value of this

    Definition Classes
    _Trait → Computable
  2. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  3. def duration: Util.Time.Duration

    Duration from midnight.

    Duration from midnight.

    Natural conversion since DayTime is essentially Duration passed from midnight.

    Definition Classes
    DayTime
  4. def hours: Util.Time.Hours

    Number of hours.

    Number of hours.

    Same as totalHours

    Number of hours since midnight.

    Value range is 0 to 23

    Definition Classes
    DayTime
  5. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  6. def make(v: Int): DayTime
    Attributes
    protected
    Definition Classes
    _Trait_Trait
  7. def max(v: DayTime): DayTime

    Maximum value

    Maximum value

    Returns maximum of this and provided value

    Definition Classes
    _Trait → Ordered
  8. def min(v: DayTime): DayTime

    Minimum value

    Minimum value

    Returns minimum of this and provided value

    Definition Classes
    _Trait → Ordered
  9. def realNumber: Integer
    Attributes
    protected
    Definition Classes
    _TraitLike
  10. def round(l: Util.Time.Duration, r: Custom.Rounding = \/): DayTime
    Definition Classes
    DayTime
  11. def setup: DayTime.type
    Attributes
    protected
    Definition Classes
    DayTime_Trait_Trait_Trait
  12. 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
  13. 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
  14. 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
  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
    Definition Classes
    DayTime
  17. def toString(): String
    Definition Classes
    DayTime → Any
  18. def totalDays: Util.Time.Days

    Day count.

    Day count.

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

    Definition Classes
    Millis_Trait
  19. def totalHours: Util.Time.Hours

    Hours count.

    Hours count.

    Total hours which fit in this time unit.

    Definition Classes
    Millis_Trait
  20. def totalMillis: Util.Time.Millis

    Milliseconds count.

    Milliseconds count.

    Total milliseconds which fit in this time unit.

    Definition Classes
    DayTimeMillis_Trait
  21. def totalMinutes: Util.Time.Minutes

    Minutes count.

    Minutes count.

    Total minutes which fit in this time unit.

    Definition Classes
    Millis_Trait
  22. def totalSeconds: Util.Time.Seconds

    Seconds count.

    Seconds count.

    Total seconds which fit in this time unit.

    Definition Classes
    Millis_Trait

Operator

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

    Percent At

    Percent At

    Returns percentage of this compared to v

    Definition Classes
    _Trait → Computable
  4. def *(v: Int): DayTime

    Multiply by

    Multiply by

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

    Definition Classes
    _Trait
  5. def +(l: Util.Time.Duration): DayTime
    Definition Classes
    DayTime
  6. def +(p: Percent): DayTime

    Add percent

    Add percent

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

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

    Add value

    Add value

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

    Definition Classes
    _Trait → Computable
  8. def +~(v: ~[Util.Time.Duration]): DayTime
    Definition Classes
    DayTime
  9. def -(l: Util.Time.Duration): DayTime
    Definition Classes
    DayTime
  10. def -(p: Percent): DayTime

    Subtract percent

    Subtract percent

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

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

    Subtract value

    Subtract value

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

    Definition Classes
    _Trait → Computable
  12. def -~(v: ~[Util.Time.Duration]): DayTime
    Definition Classes
    DayTime
  13. def /(v: Int): DayTime

    Divide by

    Divide by

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

    Definition Classes
    _Trait
  14. def <(v: DayTime): Boolean

    Is less test

    Is less test

    Returns true if this is less than v, false otherwise

    Definition Classes
    _Trait → Ordered
  15. def <=(v: DayTime): 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
  16. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  17. def >(v: DayTime): Boolean

    Is greater test

    Is greater test

    Returns true if this is greater than v, false otherwise

    Definition Classes
    _Trait → Ordered
  18. def >=(v: DayTime): 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