Packages

case class YearRange(year1: Int, year2: Option[Int] = None) extends LogSupport with Product with Serializable

Closing date of a hoard as modelled by nomisma.org. Closing date may be either a single integer year, or a pair of integers for a range of years.

year1

Earlier date in range, or single point.

year2

Later date in range, if any.

Annotations
@JSExportTopLevel( "YearRange" )
Linear Supertypes
Product, Equals, LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. YearRange
  2. Product
  3. Equals
  4. LogSupport
  5. LazyLogger
  6. LoggingMethods
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new YearRange(year1: Int, year2: Option[Int] = None)

    year1

    Earlier date in range, or single point.

    year2

    Later date in range, if any.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cex(separator: String = "#"): String
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  7. def contains(yr: Int): Boolean

    True if this range contains a given year.

    True if this range contains a given year.

    yr

    Year to test for.

  8. def csv(separator: String): String
  9. macro def debug(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  10. macro def debug(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. macro def error(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  13. macro def error(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  16. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. macro def logAt(logLevel: LogLevel, message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  19. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def pointAverage: Int

    Representation of date as a single integer value.

  24. def rangeOK: Boolean

    True if values for dates are valid.

  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(separator: String): String
  27. def toString(): String

    Override default string display.

    Override default string display.

    Definition Classes
    YearRange → AnyRef → Any
  28. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  29. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  34. macro def warn(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  35. val year1: Int
  36. val year2: Option[Int]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped