final case class Date2(ms: Long) extends AnyVal with Ordered[Date2] with Product with Serializable
- Source
- date2.scala
- Alphabetic
- By Inheritance
- Date2
- Serializable
- Product
- Equals
- Ordered
- Comparable
- AnyVal
- Any
- by orderingToOrdered
- by richDrxAny
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(time: Time): Date2
- def +-(time: Time): Bound[Date2]
- def -(that: Date2): Time
- def -(time: Time): Date2
- def ->[B](y: B): (Date2, B)
- def <(that: Date2): Boolean
- Definition Classes
- Ordered
- def <=(that: Date2): Boolean
- Definition Classes
- Ordered
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def >(that: Date2): Boolean
- Definition Classes
- Ordered
- def >=(that: Date2): Boolean
- Definition Classes
- Ordered
- def applyIf(t: Boolean, f: (Date2) => Date2): Date2
- Implicit
- This member is added by an implicit conversion from Date2 toDrxAny[Date2] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (Date2) => Boolean)(f: (Date2) => Date2): Date2
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from Date2 toDrxAny[Date2] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def civil: DateCivil
- def compare(that: Date2): Int
- Definition Classes
- Date2 → Ordered
- def compareTo(that: Date2): Int
- Definition Classes
- Ordered → Comparable
- def d: Int
- def dayOfWeek: DayOfWeek
- def dow: DayOfWeek
- def dowIndex: Int
day of week 0 to 6 -> [Sun, Sat]
- def elementOf(xs: Set[Date2]): Boolean
- Implicit
- This member is added by an implicit conversion from Date2 toDrxAny[Date2] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (Date2) => Boolean, msg: => Any): Date2
- def ensuring(cond: (Date2) => Boolean): Date2
- def ensuring(cond: Boolean, msg: => Any): Date2
- def ensuring(cond: Boolean): Date2
- def formatted(fmtstr: String): String
- def get(that: DayOfWeek, n: Int = 1): Date2
get the n'th (1 = first) day of week from a given date (current day is the first)
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iso: String
- def isoDay: String
- def isoMin: String
- def isoMs: String
- def isoSec: String
- def isoYear: String
- def isoZone: String
- def m: Int
- def month: Month
- val ms: Long
- def next(that: DayOfWeek, n: Int = 1): Date2
get the NEXT n'th (1 = first) day of week from a given date (current day is not counted)
- def noneIf(f: (Date2) => Boolean): Option[Date2]
- Implicit
- This member is added by an implicit conversion from Date2 toDrxAny[Date2] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def optionIf(f: (Date2) => Boolean): Option[Date2]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from Date2 toDrxAny[Date2] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (Date2) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from Date2 toDrxAny[Date2] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def prev(that: DayOfWeek, n: Int = 1): Date2
get the Previous n'th (1 = first) day of week from a given date (current day is not counted)
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def roundDay: Date2
- def roundHour: Date2
- def roundMin: Date2
- def roundSec: Date2
- def sideEffect(f: (Date2) => Unit): Date2
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from Date2 toDrxAny[Date2] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (Date2) => Boolean): Option[Date2]
- Implicit
- This member is added by an implicit conversion from Date2 toDrxAny[Date2] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val thisAny: Date2
- Implicit
- This member is added by an implicit conversion from Date2 toDrxAny[Date2] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def till(maxArg: Date2): Bound[Date2]
Bound construction since the Range constructor is deprecated
Bound construction since the Range constructor is deprecated
- Implicit
- This member is added by an implicit conversion from Date2 toBoundOps[Date2] performed by method DrxBoundOps in cc.drx.predef.Enrich.
- Definition Classes
- BoundOps
- def toString(): String
- Definition Classes
- Date2 → Any
- def y: Int
- def ~(that: Date2): Bound[Date2]
- def ~>(time: Time): Bound[Date2]
Shadowed Implicit Value Members
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from Date2 toany2stringadd[Date2] performed by method any2stringadd in scala.Predef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(date2: any2stringadd[Date2]).+(other)
- Definition Classes
- any2stringadd
- def <(that: Date2): Boolean
- Implicit
- This member is added by an implicit conversion from Date2 toOrdered[Date2] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(date2: Ordered[Date2]).<(that)
- Definition Classes
- Ordered
- def <=(that: Date2): Boolean
- Implicit
- This member is added by an implicit conversion from Date2 toOrdered[Date2] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(date2: Ordered[Date2]).<=(that)
- Definition Classes
- Ordered
- def >(that: Date2): Boolean
- Implicit
- This member is added by an implicit conversion from Date2 toOrdered[Date2] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(date2: Ordered[Date2]).>(that)
- Definition Classes
- Ordered
- def >=(that: Date2): Boolean
- Implicit
- This member is added by an implicit conversion from Date2 toOrdered[Date2] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(date2: Ordered[Date2]).>=(that)
- Definition Classes
- Ordered
- def compare(that: Date2): Int
- Implicit
- This member is added by an implicit conversion from Date2 toOrdered[Date2] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(date2: Ordered[Date2]).compare(that)
- Definition Classes
- Ordered
- def compareTo(that: Date2): Int
- Implicit
- This member is added by an implicit conversion from Date2 toOrdered[Date2] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(date2: Ordered[Date2]).compareTo(that)
- Definition Classes
- Ordered → Comparable
Deprecated Value Members
- def ?>(f: (Date2) => Boolean): Option[Date2]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from Date2 toDrxAny[Date2] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def |>[B](f: (Date2) => B): B
- Implicit
- This member is added by an implicit conversion from Date2 toDrxAny[Date2] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (Date2, B)
- Implicit
- This member is added by an implicit conversion from Date2 toArrowAssoc[Date2] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.