Class

eu.shiftforward.apso.time.Implicits

ApsoTimeDateTime

Related Doc: package Implicits

Permalink

implicit final class ApsoTimeDateTime extends AnyVal

Implicit class that provides new methods for DateTimes.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ApsoTimeDateTime
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ApsoTimeDateTime(d1: com.github.nscala_time.time.Imports.DateTime)

    Permalink

    d1

    the DateTime to which the new methods are provided.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def between(dStart: com.github.nscala_time.time.Imports.DateTime, dEnd: com.github.nscala_time.time.Imports.DateTime): Boolean

    Permalink

    Retuns true if this DateTime is in the range between the two given DateTimes.

    Retuns true if this DateTime is in the range between the two given DateTimes.

    dStart

    the starting DateTime

    dEnd

    the ending DateTime

    returns

    true if this DateTime is in the range between the two given DateTimes, false otherwise.

  6. val d1: com.github.nscala_time.time.Imports.DateTime

    Permalink

    the DateTime to which the new methods are provided.

  7. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  9. def isSameDay(d2: com.github.nscala_time.time.Imports.DateTime): Boolean

    Permalink

    Returns true if the given DateTime is in the same day as this.

    Returns true if the given DateTime is in the same day as this.

    d2

    the second DateTime

    returns

    true if the given DateTime is in the same day as this, false othwerwise.

  10. def toString(): String

    Permalink
    Definition Classes
    Any
  11. def until(d2: com.github.nscala_time.time.Imports.DateTime): IterableInterval

    Permalink

    Returns an iterable interval starting at this DateTime (inclusive) and ending at the given DateTime (exclusive), with a 1 day step.

    Returns an iterable interval starting at this DateTime (inclusive) and ending at the given DateTime (exclusive), with a 1 day step.

    d2

    the ending DateTime

    returns

    an iterable interval starting at this DateTime (inclusive) and ending at the given DateTime (exclusive), with a 1 day step.

  12. def utcLocalDate: com.github.nscala_time.time.Imports.LocalDate

    Permalink

    Returns a LocalDate corresponding to this DateTime at UTC.

    Returns a LocalDate corresponding to this DateTime at UTC.

    returns

    a LocalDate corresponding to this DateTime at UTC.

Inherited from AnyVal

Inherited from Any

Ungrouped