Class

eu.shiftforward.apso.time.Implicits

ApsoTimeLocalDate

Related Doc: package Implicits

Permalink

implicit final class ApsoTimeLocalDate extends AnyVal

Implicit class that provides new methods for LocalDates.

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

Instance Constructors

  1. new ApsoTimeLocalDate(d1: com.github.nscala_time.time.Imports.LocalDate)

    Permalink

    d1

    the LocalDate 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. val d1: com.github.nscala_time.time.Imports.LocalDate

    Permalink

    the LocalDate to which the new methods are provided.

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

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

    Permalink
    Definition Classes
    Any
  8. def to(d2: com.github.nscala_time.time.Imports.LocalDate): LocalDateInterval

    Permalink

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

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

    d2

    the ending LocalDate

    returns

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

  9. def toDateTimeAtEndOfDay(tz: com.github.nscala_time.time.Imports.DateTimeZone): DateTime

    Permalink

    Returns a DateTime corresponding to this LocalDate at the latest valid time for the date on the given DateTimeZone.

    Returns a DateTime corresponding to this LocalDate at the latest valid time for the date on the given DateTimeZone.

    tz

    the target DateTimeZone for the returned DateTime

    returns

    a DateTime corresponding to this LocalDate at the latest valid time for the date on the given DateTimeZone.

  10. def toDateTimeAtEndOfDay: DateTime

    Permalink

    Returns a DateTime corresponding to this LocalDate at the latest valid time for the date.

    Returns a DateTime corresponding to this LocalDate at the latest valid time for the date.

    returns

    a DateTime corresponding to this LocalDate at the latest valid time for the date.

  11. def toString(): String

    Permalink
    Definition Classes
    Any
  12. def until(d2: com.github.nscala_time.time.Imports.LocalDate): LocalDateInterval

    Permalink

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

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

    d2

    the ending LocalDate

    returns

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

  13. def utcDateTime: com.github.nscala_time.time.Imports.DateTime

    Permalink

    Returns a DateTime corresponding to this LocalDate at UTC midnight.

    Returns a DateTime corresponding to this LocalDate at UTC midnight.

    returns

    a DateTime corresponding to this LocalDate at UTC midnight.

Inherited from AnyVal

Inherited from Any

Ungrouped