Class

org.clulab.timenorm.scate

AfterP

Related Doc: package scate

Permalink

case class AfterP(interval: Interval, period: Period, triggerCharSpan: Option[(Int, Int)] = None) extends Interval with IP with Product with Serializable

Shifts the input interval later by a given period length. Formally: After([t1,t2): Interval, Δ: Period) = [t1 + Δ - x, t2 + Δ + x) where x = u1(Δ)/2 if t2 - t1 is smaller than u1(Δ) or 0 otherwise where u1(Δ) is a period with the same units as Δ but only 1 unit

In other words, the width of the resulting interval is the maximum of the widths of the input interval and a 1-unit version of the period

interval

interval to shift from

period

period to shift the interval by

Linear Supertypes
Serializable, Serializable, Product, Equals, IP, Interval, TimeExpression, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AfterP
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. IP
  7. Interval
  8. TimeExpression
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AfterP(interval: Interval, period: Period, triggerCharSpan: Option[(Int, Int)] = None)

    Permalink

    interval

    interval to shift from

    period

    period to shift the interval by

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. lazy val charSpan: Option[(Int, Int)]

    Permalink
    Definition Classes
    IPTimeExpression
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def contains(interval: Interval): Boolean

    Permalink
    Definition Classes
    Interval
  8. lazy val end: LocalDateTime

    Permalink
    Definition Classes
    AfterPInterval
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. val interval: Interval

    Permalink

    interval to shift from

    interval to shift from

    Definition Classes
    AfterPIP
  13. lazy val isDefined: Boolean

    Permalink
    Definition Classes
    IPTimeExpression
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. val period: Period

    Permalink

    period to shift the interval by

    period to shift the interval by

    Definition Classes
    AfterPIP
  19. lazy val start: LocalDateTime

    Permalink
    Definition Classes
    AfterPInterval
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. val triggerCharSpan: Option[(Int, Int)]

    Permalink
    Definition Classes
    AfterPIP
  22. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from IP

Inherited from Interval

Inherited from TimeExpression

Inherited from AnyRef

Inherited from Any

Ungrouped