Class/Object

eie.dao

TimeRange

Related Docs: object TimeRange | package dao

Permalink

case class TimeRange(from: Timestamp, to: Timestamp) extends Product with Serializable

A time range, inclusive

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimeRange
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TimeRange(from: Timestamp, to: Timestamp)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from TimeRange to any2stringadd[TimeRange] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (TimeRange, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from TimeRange to ArrowAssoc[TimeRange] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def asDuration: Duration

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def completelyContainsDate(date: LocalDate): Boolean

    Permalink

    date

    the date to check

    returns

    true if the entire date is within this time range

  10. def completelyContainsDateAndHour(date: LocalDate, hour: Int): Boolean

    Permalink

    The time range completely contains the date/hr if the 'from' date is before the date/hr and the 'to' date is the same or after the next mour after the date/hr

    The time range completely contains the date/hr if the 'from' date is before the date/hr and the 'to' date is the same or after the next mour after the date/hr

    date

    the date to check

    hour

    the hour of the date

    returns

    true if that date and hour are within the time range

  11. def completelyContainsDateHourAndMinute(date: LocalDate, hour: Int, minute: Int): Boolean

    Permalink

    The time range completely contains the date/hr/minute if the 'from' date is before the date/hr/minute and the 'to' date is the same or after the next minute after the date/hr/minute

    The time range completely contains the date/hr/minute if the 'from' date is before the date/hr/minute and the 'to' date is the same or after the next minute after the date/hr/minute

    date

    the date to check

    hour

    the hour of the date

    minute

    the minute of the date

    returns

    true if that date, hour and minute are within the time range

  12. def contains(date: LocalDate): Boolean

    Permalink
  13. def contains(time: Timestamp): Boolean

    Permalink
  14. def diffInMillis: Long

    Permalink
  15. def diffInNanos: Long

    Permalink
  16. def ensuring(cond: (TimeRange) ⇒ Boolean, msg: ⇒ Any): TimeRange

    Permalink
    Implicit information
    This member is added by an implicit conversion from TimeRange to Ensuring[TimeRange] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (TimeRange) ⇒ Boolean): TimeRange

    Permalink
    Implicit information
    This member is added by an implicit conversion from TimeRange to Ensuring[TimeRange] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: ⇒ Any): TimeRange

    Permalink
    Implicit information
    This member is added by an implicit conversion from TimeRange to Ensuring[TimeRange] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): TimeRange

    Permalink
    Implicit information
    This member is added by an implicit conversion from TimeRange to Ensuring[TimeRange] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from TimeRange to StringFormat[TimeRange] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. val from: Timestamp

    Permalink
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def localFrom: LocalDateTime

    Permalink
  27. def localTo: LocalDateTime

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. val to: Timestamp

    Permalink
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def [B](y: B): (TimeRange, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from TimeRange to ArrowAssoc[TimeRange] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from TimeRange to any2stringadd[TimeRange]

Inherited by implicit conversion StringFormat from TimeRange to StringFormat[TimeRange]

Inherited by implicit conversion Ensuring from TimeRange to Ensuring[TimeRange]

Inherited by implicit conversion ArrowAssoc from TimeRange to ArrowAssoc[TimeRange]

Ungrouped