case class Time(value: Long) extends Serializable with Ordered[Time] with Product
type-safe representation of time in ScalaNeko.
The internal representation stores the number of nanoseconds since the start of the execution.
Since the value is stored in a Long, this allows to represent time for up to
263ns, i.e., nearly 300 years.
- value
- internal representation of time in nanoseconds. 
- Alphabetic
- By Inheritance
- Time
- Product
- Equals
- Ordered
- Comparable
- Serializable
- Serializable
- AnyRef
- Any
- by orderingToOrdered
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      - Definition Classes
- AnyRef → Any
 
-  def *(factor: Double): Time
-  def *(factor: Long): Time
-  def +(that: Time): Time
-  def -(that: Time): Time
-  def ->[B](y: B): (Time, B)
-  def /(divisor: Double): Time
-  def /(divisor: Long): Time
-  def /(that: Time): Long
- 
      
      
      
        
      
    
      
        
        def
      
      
        <(that: Time): Boolean
      
      
      - Definition Classes
- Ordered
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        <=(that: Time): Boolean
      
      
      - Definition Classes
- Ordered
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        >(that: Time): Boolean
      
      
      - Definition Classes
- Ordered
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        >=(that: Time): Boolean
      
      
      - Definition Classes
- Ordered
 
-  def after(that: Time): Boolean
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        asNanoseconds: String
      
      
      returns a string representation of this time expressed in nanoseconds. returns a string representation of this time expressed in nanoseconds. - returns
- string representation 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        asSeconds: String
      
      
      returns a string representation of this time expressed in seconds with precision to the microsecond. returns a string representation of this time expressed in seconds with precision to the microsecond. - returns
- string representation 
 
-  def before(that: Time): Boolean
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
 
-  def combine[A](that: Time)(f: (Long, Long) ⇒ A): A
- 
      
      
      
        
      
    
      
        
        def
      
      
        compare(that: Time): Int
      
      
      - Definition Classes
- Time → Ordered
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        compareTo(that: Time): Int
      
      
      - Definition Classes
- Ordered → Comparable
 
-  def ensuring(cond: (Time) ⇒ Boolean, msg: ⇒ Any): Time
-  def ensuring(cond: (Time) ⇒ Boolean): Time
-  def ensuring(cond: Boolean, msg: ⇒ Any): Time
-  def ensuring(cond: Boolean): Time
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
-  def formatted(fmtstr: String): String
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
-  def map(f: (Long) ⇒ Long): Time
-  def map2(that: Time)(f: (Long, Long) ⇒ Long): Time
-  def max(that: Time): Time
-  def min(that: Time): Time
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
-  def pred: Time
-  def succ: Time
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toDuration: Duration
      
      
      converts this time value to a scala.concurrent.duration.Duration. converts this time value to a scala.concurrent.duration.Duration. - returns
- a duration equivalent to this time value 
 
-  val value: Long
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
-  def →[B](y: B): (Time, B)
Shadowed Implicit Value Members
- 
      
      
      
        
      
    
      
        
        def
      
      
        +(other: String): String
      
      
      - Implicit
- This member is added by an implicit conversion from Time to any2stringadd[Time] performed by method any2stringadd in scala.Predef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
 To access this member you can use a type ascription:(time: any2stringadd[Time]).+(other) 
- Definition Classes
- any2stringadd
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        <(that: Time): Boolean
      
      
      - Implicit
- This member is added by an implicit conversion from Time to Ordered[Time] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
 To access this member you can use a type ascription:(time: Ordered[Time]).<(that) 
- Definition Classes
- Ordered
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        <=(that: Time): Boolean
      
      
      - Implicit
- This member is added by an implicit conversion from Time to Ordered[Time] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
 To access this member you can use a type ascription:(time: Ordered[Time]).<=(that) 
- Definition Classes
- Ordered
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        >(that: Time): Boolean
      
      
      - Implicit
- This member is added by an implicit conversion from Time to Ordered[Time] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
 To access this member you can use a type ascription:(time: Ordered[Time]).>(that) 
- Definition Classes
- Ordered
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        >=(that: Time): Boolean
      
      
      - Implicit
- This member is added by an implicit conversion from Time to Ordered[Time] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
 To access this member you can use a type ascription:(time: Ordered[Time]).>=(that) 
- Definition Classes
- Ordered
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        compare(that: Time): Int
      
      
      - Implicit
- This member is added by an implicit conversion from Time to Ordered[Time] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
 To access this member you can use a type ascription:(time: Ordered[Time]).compare(that) 
- Definition Classes
- Ordered
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        compareTo(that: Time): Int
      
      
      - Implicit
- This member is added by an implicit conversion from Time to Ordered[Time] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
 To access this member you can use a type ascription:(time: Ordered[Time]).compareTo(that) 
- Definition Classes
- Ordered → Comparable