DateDaySinceYearType

case class DateDaySinceYearType(aYear: Int) extends DateType

The type dateDaysSince[aYear] is a variant of the type date where the values are represented as the number of days since aYear-01-01. The date aYear-01-01 is represented by the number 0. aYear-01-02 is represented by 1, aYear-02-01 is represented by 31, etc. Dates before aYear-01-01 are represented as negative numbers. For example, values of type dateDaysSince[1960] are the number of days since 1960-01-01. The date 1960-01-01 is represented by the number 0.

Companion:
object
trait Product
trait Equals
class DateType
class DataType
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def toString: String
Definition Classes
DateType -> Any

Inherited methods

def accepts(other: DataType): Boolean

Returns true if other is an acceptable input type for a function that expects this.

Returns true if other is an acceptable input type for a function that expects this.

Inherited from:
DataTypeLike
Inherited from:
DataType
override def isDate: Boolean
Definition Classes
Inherited from:
DateType
def isDateTime: Boolean
Inherited from:
DataTypeLike
def isDouble: Boolean
Inherited from:
DataTypeLike
def isFloat: Boolean
Inherited from:
DataTypeLike
override def isNumeric: Boolean
Definition Classes
Inherited from:
NumericType
def isReal: Boolean
Inherited from:
DataTypeLike
def isString: Boolean
Inherited from:
DataTypeLike
def isTime: Boolean
Inherited from:
DataTypeLike
def isTimestamp: Boolean
Inherited from:
DataTypeLike
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def toVal(s: String): Any
Inherited from:
DataType