p

Util.Time

package Time

Ordering
  1. Alphabetic
Inherited
  1. Time
  2. scala.AnyRef
  3. scala.Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Constructor

  1. def fromMillis(m: Long): Time
    Definition Classes
    Time
  2. def make(string: String, pattern: String): Time

    Parse

    Parse

    Parses String by given pattern

    See java.text.SimpleDateFormat for pattern details

    Definition Classes
    Time
  3. def make(time: String): Time

    Parse default

    Parse default

    Parses String formatted by default with Time.toString method

    Definition Classes
    Time
  4. def make(day: Day, plus: Time.Duration*): Time

    By Day and generic extension.

    By Day and generic extension.

    day

    base Day

    plus

    a set of time units in any order.

    Time.make(2018.Year.start.day, 12.Hours, 44.Seconds).lp  // Prints: Time{day=2018-01-01,time=12:00:44}
    Time.make(2018.Year.start.day, 44.Seconds, 12.Hours).lp  // Prints: Time{day=2018-01-01,time=12:00:44}
    
    Time.make(2018.Year.start.day, 2.Days, 12.Hours).lp       // Prints: Time{day=2018-01-03,time=12:00}
    Time.make(2018.Year.start.day, 3.Weeks).lp               // Prints: Time{day=2018-01-22,time=0:00}
    Definition Classes
    Time
  5. def make(d: Day, dt: Time.DayTime): Time
    Definition Classes
    Time
  6. def make(i: Instant): Time
    Definition Classes
    Time
  7. def now: Time
    Definition Classes
    Time

Constant

  1. val Ordering: Ordering[Util.Time]
    Definition Classes
    Time

Property

  1. def currentPro(changeEvery: Time.Duration): Pro.O[Time]
    Definition Classes
    Time

Implicit Constructor

  1. implicit def zzMake(v: \/): Time
    Definition Classes
    Setup

Implicit

  1. implicit val Map: BiMap[Long, Time]
    Definition Classes
    SetupSetup
  2. implicit val Ordering: Ordering[Time]
    Definition Classes
    Setup
  3. implicit val Setup: Any.Datum.Setup[Time]
    Definition Classes
    Setup
  4. implicit def zzTime(v: NOW.type): Time
    Definition Classes
    _Class
Linear Supertypes
AnyRef, Any
Source: package.scala