Packages

c

little.time.Implicits

LocalDateType

implicit final class LocalDateType extends AnyVal

Provides extension methods to java.time.LocalDate

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

Instance Constructors

  1. new LocalDateType(date: LocalDate)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(amount: TemporalAmount): LocalDate

    Gets date with specified amount added.

    Gets date with specified amount added.

    amount

    temporal amount

  4. def +(days: Long): LocalDate

    Gets date with specified number of days added.

    Gets date with specified number of days added.

    days

    number of days

  5. def -(amount: TemporalAmount): LocalDate

    Gets date with specified amount subtracted.

    Gets date with specified amount subtracted.

    amount

    temporal amount

  6. def -(days: Long): LocalDate

    Gets date with specified number of days subtracted.

    Gets date with specified number of days subtracted.

    days

    number of days

  7. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def atEndOfMonth: LocalDate

    Gets date adjusted to last day of month.

  10. def atEndOfWeek(lastDay: DayOfWeek): LocalDate

    Gets date adjusted to last day of week.

    Gets date adjusted to last day of week.

    lastDay

    last day of week

  11. def atEndOfWeek: LocalDate

    Gets date adjusted to last day of week.

    Gets date adjusted to last day of week.

    Note

    Saturday is last day of week.

  12. def atEndOfYear: LocalDate

    Gets date adjusted to last day of year.

  13. def atStartOfMonth: LocalDate

    Gets date adjusted to first day of month.

  14. def atStartOfWeek(firstDay: DayOfWeek): LocalDate

    Gets date adjusted to specified first day of week.

    Gets date adjusted to specified first day of week.

    firstDay

    first day of week

  15. def atStartOfWeek: LocalDate

    Gets date adjusted to first day of week.

    Gets date adjusted to first day of week.

    Note

    Sunday is first day of week.

  16. def atStartOfYear: LocalDate

    Gets date adjusted to first day of year.

  17. val date: LocalDate
  18. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def iterateTo(end: LocalDate, step: Period = Period.ofDays(1)): Iterator[LocalDate]

    Creates iterator to end date (inclusive).

    Creates iterator to end date (inclusive).

    end

    end date

    step

    period by which to step

    Exceptions thrown

    IllegalArgumentException if step is zero.

  21. def iterateUntil(end: LocalDate, step: Period = Period.ofDays(1)): Iterator[LocalDate]

    Creates iterator to end date (exclusive).

    Creates iterator to end date (exclusive).

    end

    end date

    step

    period by which to step

  22. def max(other: LocalDate): LocalDate

    Compares to other date and returns the greater value.

    Compares to other date and returns the greater value.

    other

    other date

  23. def min(other: LocalDate): LocalDate

    Compares to other date and returns the lesser value.

    Compares to other date and returns the lesser value.

    other

    other date

  24. def toString(): String
    Definition Classes
    Any
  25. def toYearMonth: YearMonth

    Gets YearMonth part of date.

Inherited from AnyVal

Inherited from Any

Ungrouped