YearMonth

zio.blocks.schema.PrimitiveValue.YearMonth
case class YearMonth(value: YearMonth) extends PrimitiveValue

A java.time.YearMonth value.

Attributes

Source
PrimitiveValue.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

type Type = YearMonth

The Scala or Java type of the value.

The Scala or Java type of the value.

Attributes

Source
PrimitiveValue.scala

Value members

Concrete methods

def compare(that: PrimitiveValue): Int

Returns a negative number, zero or a positive number when this value is less than, equal to or greater than that. Values of the same case are compared by their value, except as noted on Int and Period; values of different cases by typeIndex.

Returns a negative number, zero or a positive number when this value is less than, equal to or greater than that. Values of the same case are compared by their value, except as noted on Int and Period; values of different cases by typeIndex.

Attributes

Source
PrimitiveValue.scala

Returns the PrimitiveType of the value, without validation.

Returns the PrimitiveType of the value, without validation.

Attributes

Source
PrimitiveValue.scala
def typeIndex: Int

Returns the position of this case in the list of cases, from 0 for Unit to 29 for UUID. Values of different cases are ordered by it.

Returns the position of this case in the list of cases, from 0 for Unit to 29 for UUID. Values of different cases are ordered by it.

Attributes

Source
PrimitiveValue.scala

Inherited methods

final def <(that: PrimitiveValue): Boolean

Returns true when this value is less than that by compare.

Returns true when this value is less than that by compare.

Attributes

Inherited from:
PrimitiveValue
Source
PrimitiveValue.scala
final def <=(that: PrimitiveValue): Boolean

Returns true when this value is less than or equal to that by compare.

Returns true when this value is less than or equal to that by compare.

Attributes

Inherited from:
PrimitiveValue
Source
PrimitiveValue.scala
final def >(that: PrimitiveValue): Boolean

Returns true when this value is greater than that by compare.

Returns true when this value is greater than that by compare.

Attributes

Inherited from:
PrimitiveValue
Source
PrimitiveValue.scala
final def >=(that: PrimitiveValue): Boolean

Returns true when this value is greater than or equal to that by compare.

Returns true when this value is greater than or equal to that by compare.

Attributes

Inherited from:
PrimitiveValue
Source
PrimitiveValue.scala
def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala