trait IsDateTime[DateTime] extends AnyRef
Bridge adapter between specific date-time libraries and expression support
- Annotations
- @implicitNotFound("Type ${DateTime} is not supported on current scope. You may be missing some imports, check the documentation to know more.")
- Source
- IsDateTime.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- IsDateTime
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def get[F <: CronField](dateTime: DateTime, field: F): Either[DateTimeError, Int]
Getter access for a specific field in a date-time
Getter access for a specific field in a date-time
- F
the CronField type
- dateTime
a date-time
- field
a CronField
- returns
value of the field
- abstract def plus(dateTime: DateTime, amount: Int, unit: DateTimeUnit): Option[DateTime]
- abstract def set[F <: CronField](dateTime: DateTime, field: F, value: Int): Either[DateTimeError, DateTime]
Setter access for a specific field in a date-time
Setter access for a specific field in a date-time
- F
the CronField type
- dateTime
a date-time
- field
a CronField
- value
new value for the field
- returns
a new date-time with the given field set to the new value
- abstract def supportedFields(dateTime: DateTime): List[CronField]
List of the fields supported by this date time representation
List of the fields supported by this date time representation
- dateTime
the date time representation
- returns
list of the supported fields
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()