Packages

c

little.time.Implicits

LocalTimeType

implicit final class LocalTimeType extends AnyVal

Provides extension methods to java.time.LocalTime

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

Instance Constructors

  1. new LocalTimeType(time: LocalTime)

Value Members

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

    Gets time with specified amount added.

    Gets time with specified amount added.

    amount

    temporal amount

  4. def -(amount: TemporalAmount): LocalTime

    Gets time with specified amount subtracted.

    Gets 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): LocalTime

    Gets time adjusted to end of day.

    Gets time adjusted to end of day.

    precision

    time precision

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

    Gets time adjusted to end of hour.

    Gets time adjusted to end of hour.

    precision

    time precision

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

    Gets time adjusted to end of microsecond.

    Gets time adjusted to end of microsecond.

    precision

    time precision

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

    Gets time adjusted to end of millisecond.

    Gets time adjusted to end of millisecond.

    precision

    time precision

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

    Gets time adjusted to end of minute.

    Gets time adjusted to end of minute.

    precision

    time precision

  12. def atEndOfSecond(implicit precision: TimePrecision): LocalTime

    Gets time adjusted to end of second.

    Gets time adjusted to end of second.

    precision

    time precision

  13. def atStartOfDay: LocalTime

    Gets time truncated to day.

  14. def atStartOfHour: LocalTime

    Gets time truncated to hour.

  15. def atStartOfMicros: LocalTime

    Gets time truncated to microsecond.

  16. def atStartOfMillis: LocalTime

    Gets time truncated to millisecond.

  17. def atStartOfMinute: LocalTime

    Gets time truncated to minute.

  18. def atStartOfSecond: LocalTime

    Gets time truncated to second.

  19. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def iterateTo(end: LocalTime, step: Duration = Duration.ofSeconds(1)): Iterator[LocalTime]

    Creates iterator to end time (inclusive).

    Creates iterator to end time (inclusive).

    end

    end time

    step

    duration by which to step

    Exceptions thrown

    IllegalArgumentException if step is zero.

  22. def iterateUntil(end: LocalTime, step: Duration = Duration.ofSeconds(1)): Iterator[LocalTime]

    Creates iterator to end time (exclusive).

    Creates iterator to end time (exclusive).

    end

    end time

    step

    duration by which to step

  23. def max(other: LocalTime): LocalTime

    Compares to other time and returns the greater value.

    Compares to other time and returns the greater value.

    other

    other time

  24. def min(other: LocalTime): LocalTime

    Compares to other time and returns the lesser value.

    Compares to other time and returns the lesser value.

    other

    other time

  25. val time: LocalTime
  26. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped