Packages

c

little.time.Implicits

LocalDateTimeType

implicit final class LocalDateTimeType extends AnyVal

Provides extension methods to java.time.LocalDateTime

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

Instance Constructors

  1. new LocalDateTimeType(dateTime: LocalDateTime)

Value Members

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

    Gets date-time with specified amount added.

    Gets date-time with specified amount added.

    amount

    temporal amount

  4. def -(amount: TemporalAmount): LocalDateTime

    Gets date-time with specified amount subtracted.

    Gets date-time with specified amount subtracted.

    amount

    temporal amount

  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def atEndOfDay(implicit precision: TimePrecision): LocalDateTime

    Gets date-time adjusted to end of day.

    Gets date-time adjusted to end of day.

    precision

    time precision

  8. def atEndOfHour(implicit precision: TimePrecision): LocalDateTime

    Gets date-time adjusted to end of hour.

    Gets date-time adjusted to end of hour.

    precision

    time precision

  9. def atEndOfMicros(implicit precision: TimePrecision): LocalDateTime

    Gets date-time adjusted to end of microsecond.

    Gets date-time adjusted to end of microsecond.

    precision

    time precision

  10. def atEndOfMillis(implicit precision: TimePrecision): LocalDateTime

    Gets date-time adjusted to end of millisecond.

    Gets date-time adjusted to end of millisecond.

    precision

    time precision

  11. def atEndOfMinute(implicit precision: TimePrecision): LocalDateTime

    Gets date-time adjusted to end of minute.

    Gets date-time adjusted to end of minute.

    precision

    time precision

  12. def atEndOfMonth(implicit precision: TimePrecision): LocalDateTime

    Gets date-time adjusted to last day of month.

    Gets date-time adjusted to last day of month.

    precision

    time precision

  13. def atEndOfSecond(implicit precision: TimePrecision): LocalDateTime

    Gets date-time adjusted to end of second.

    Gets date-time adjusted to end of second.

    precision

    time precision

  14. def atEndOfWeek(lastDay: DayOfWeek)(implicit precision: TimePrecision): LocalDateTime

    Gets date-time adjusted to specified last day of week.

    Gets date-time adjusted to specified last day of week.

    lastDay

    last day of week

    precision

    time precision

  15. def atEndOfWeek(implicit precision: TimePrecision): LocalDateTime

    Gets date-time adjusted to last day of week.

    Gets date-time adjusted to last day of week.

    Note

    Saturday is last day of week.

  16. def atEndOfYear(implicit precision: TimePrecision): LocalDateTime

    Gets date-time adjusted to last day of year.

    Gets date-time adjusted to last day of year.

    precision

    time precision

  17. def atStartOfDay: LocalDateTime

    Gets date-time truncated to day.

  18. def atStartOfHour: LocalDateTime

    Gets date-time truncated to hour.

  19. def atStartOfMicros: LocalDateTime

    Gets date-time truncated to microsecond.

  20. def atStartOfMillis: LocalDateTime

    Gets date-time truncated to millisecond.

  21. def atStartOfMinute: LocalDateTime

    Gets date-time truncated to minute.

  22. def atStartOfMonth: LocalDateTime

    Gets date-time adjusted to first day of month.

  23. def atStartOfSecond: LocalDateTime

    Gets date-time truncated to second.

  24. def atStartOfWeek(firstDay: DayOfWeek): LocalDateTime

    Gets date-time adjusted to specified first day of week.

    Gets date-time adjusted to specified first day of week.

    firstDay

    first day of week

  25. def atStartOfWeek: LocalDateTime

    Gets date-time adjusted to first day of week.

    Gets date-time adjusted to first day of week.

    Note

    Sunday is first day of week.

  26. def atStartOfYear: LocalDateTime

    Gets date-time adjusted to first day of year.

  27. val dateTime: LocalDateTime
  28. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def iterateTo(end: LocalDateTime, step: TemporalAmount = Duration.ofSeconds(1)): Iterator[LocalDateTime]

    Creates iterator to end date-time (inclusive).

    Creates iterator to end date-time (inclusive).

    end

    end date-time

    step

    temporal amount by which to step

    Exceptions thrown

    IllegalArgumentException if step is zero.

  31. def iterateUntil(end: LocalDateTime, step: TemporalAmount = Duration.ofSeconds(1)): Iterator[LocalDateTime]

    Creates iterator to end date-time (exclusive).

    Creates iterator to end date-time (exclusive).

    end

    end date-time

    step

    temporal amount by which to step

  32. def max(other: LocalDateTime): LocalDateTime

    Compares to other date-time and returns the greater value.

    Compares to other date-time and returns the greater value.

    other

    other date-time

  33. def min(other: LocalDateTime): LocalDateTime

    Compares to other date-time and returns the lesser value.

    Compares to other date-time and returns the lesser value.

    other

    other date-time

  34. def toString(): String
    Definition Classes
    Any
  35. def toYearMonth: YearMonth

    Gets YearMonth part of date-time.

Inherited from AnyVal

Inherited from Any

Ungrouped