LocalDateTimeContinuousValue

intervalidus.ContinuousValue.LocalDateTimeContinuousValue
object LocalDateTimeContinuousValue extends ContinuousValue[LocalDateTime]

Type class for local date-times as continuous values.

Attributes

Source
ContinuousValue.scala
Graph
Supertypes
trait ContinuousValue[LocalDateTime]
trait DomainValueLike[LocalDateTime]
trait Ordering[LocalDateTime]
trait PartialOrdering[LocalDateTime]
trait Equiv[LocalDateTime]
trait Serializable
trait Comparator[LocalDateTime]
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited classlikes

class OrderingOps(lhs: T)

Attributes

Inherited from:
Ordering
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override def compare(lhs: LocalDateTime, rhs: LocalDateTime): Int

Attributes

Definition Classes
Ordering -> Comparator
Source
ContinuousValue.scala
override def orderedHashOf(x: LocalDateTime): Double

A totally ordered hash of a value used for mapping intervals to box search trees in double space. If x1 < x2, then orderedHashOf(x1) ≤ orderedHashOf(x2), i.e., it is "weakly monotonic". See https://en.wikipedia.org/wiki/Monotonic_function.

A totally ordered hash of a value used for mapping intervals to box search trees in double space. If x1 < x2, then orderedHashOf(x1) ≤ orderedHashOf(x2), i.e., it is "weakly monotonic". See https://en.wikipedia.org/wiki/Monotonic_function.

Attributes

Note

having equal orderedHashOf results for different inputs is allowed, but represents a hash collision. If the orderedHashOf method has too many collisions, the performance of box search trees will suffer.

Definition Classes
Source
ContinuousValue.scala

Inherited methods

override def bracePunctuation: String

Punctuation used when representing interval in brace notation, e.g., "[a..b]" for discrete and "[a, b]" for continuous.

Punctuation used when representing interval in brace notation, e.g., "[a..b]" for discrete and "[a, b]" for continuous.

Attributes

Definition Classes
Inherited from:
ContinuousValue
Source
ContinuousValue.scala
override def equiv(x: LocalDateTime, y: LocalDateTime): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering -> Equiv
Inherited from:
Ordering
override def gt(x: LocalDateTime, y: LocalDateTime): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
override def gteq(x: LocalDateTime, y: LocalDateTime): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
def isReverseOf(other: Ordering[_]): Boolean

Attributes

Inherited from:
Ordering
override def lt(x: LocalDateTime, y: LocalDateTime): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
override def lteq(x: LocalDateTime, y: LocalDateTime): Boolean

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
def max[U <: LocalDateTime](x: U, y: U): U

Attributes

Inherited from:
Ordering
def min[U <: LocalDateTime](x: U, y: U): U

Attributes

Inherited from:
Ordering
def on[U](f: U => LocalDateTime): Ordering[U]

Attributes

Inherited from:
Ordering
def orElse(other: Ordering[LocalDateTime]): Ordering[LocalDateTime]

Attributes

Inherited from:
Ordering
def orElseBy[S](f: LocalDateTime => S)(implicit ord: Ordering[S]): Ordering[LocalDateTime]

Attributes

Inherited from:
Ordering
override def reverse: Ordering[LocalDateTime]

Attributes

Definition Classes
Ordering -> PartialOrdering
Inherited from:
Ordering
def reversed(): Comparator[LocalDateTime]

Attributes

Inherited from:
Comparator
def thenComparing[U <: Comparable[_ >: U <: <FromJavaObject>]](x$0: Function[_ >: LocalDateTime <: <FromJavaObject>, _ <: U]): Comparator[LocalDateTime]

Attributes

Inherited from:
Comparator
def thenComparing[U <: <FromJavaObject>](x$0: Function[_ >: LocalDateTime <: <FromJavaObject>, _ <: U], x$1: Comparator[_ >: U <: <FromJavaObject>]): Comparator[LocalDateTime]

Attributes

Inherited from:
Comparator
def thenComparing(x$0: Comparator[_ >: LocalDateTime <: <FromJavaObject>]): Comparator[LocalDateTime]

Attributes

Inherited from:
Comparator
def thenComparingDouble(x$0: ToDoubleFunction[_ >: LocalDateTime <: <FromJavaObject>]): Comparator[LocalDateTime]

Attributes

Inherited from:
Comparator
def thenComparingInt(x$0: ToIntFunction[_ >: LocalDateTime <: <FromJavaObject>]): Comparator[LocalDateTime]

Attributes

Inherited from:
Comparator
def thenComparingLong(x$0: ToLongFunction[_ >: LocalDateTime <: <FromJavaObject>]): Comparator[LocalDateTime]

Attributes

Inherited from:
Comparator
def tryCompare(x: LocalDateTime, y: LocalDateTime): Some[Int]

Attributes

Inherited from:
Ordering

Concrete fields

override val maxValue: LocalDateTime

Maximum value (upper bound). See https://en.wikipedia.org/wiki/Maximum_and_minimum.

Maximum value (upper bound). See https://en.wikipedia.org/wiki/Maximum_and_minimum.

Attributes

Source
ContinuousValue.scala
override val minValue: LocalDateTime

Minimum value (lower bound). See https://en.wikipedia.org/wiki/Maximum_and_minimum.

Minimum value (lower bound). See https://en.wikipedia.org/wiki/Maximum_and_minimum.

Attributes

Source
ContinuousValue.scala

Extensions

Inherited extensions

extension (lhs: LocalDateTime)
def orderedHashValue: Double

A totally ordered hash of a value used for mapping intervals to box search trees in double space. If x1 < x2, then orderedHashOf(x1) ≤ orderedHashOf(x2), i.e., it is "weakly monotonic" in that it is non-decreasing. See https://en.wikipedia.org/wiki/Monotonic_function.

A totally ordered hash of a value used for mapping intervals to box search trees in double space. If x1 < x2, then orderedHashOf(x1) ≤ orderedHashOf(x2), i.e., it is "weakly monotonic" in that it is non-decreasing. See https://en.wikipedia.org/wiki/Monotonic_function.

Attributes

Note

having equal orderedHashOf results for different inputs is allowed, but represents a hash collision. If the orderedHashOf method has too many collisions, the performance of box search trees will suffer.

Inherited from:
DomainValueLike
Source
DomainValueLike.scala

Implicits

Inherited implicits

implicit def mkOrderingOps(lhs: LocalDateTime): OrderingOps

Attributes

Inherited from:
Ordering