Packages

t

zio.test

TimeVariants

trait TimeVariants extends AnyRef

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimeVariants
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def dayOfWeek(implicit trace: ZTraceElement): Gen[Random, DayOfWeek]

    A generator of java.time.DayOfWeek values.

    A generator of java.time.DayOfWeek values. Shrinks toward DayOfWeek.MONDAY.

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def finiteDuration(min: zio.Duration, max: zio.Duration)(implicit trace: ZTraceElement): Gen[Random, zio.Duration]

    A generator of finite zio.duration.Duration values inside the specified range: [min, max].

    A generator of finite zio.duration.Duration values inside the specified range: [min, max]. Shrinks toward min.

  11. final def finiteDuration(implicit trace: ZTraceElement): Gen[Random, zio.Duration]

    A generator of finite zio.duration.Duration values.

    A generator of finite zio.duration.Duration values. Shrinks toward Duration.Zero.

  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def instant(min: Instant, max: Instant)(implicit trace: ZTraceElement): Gen[Random, Instant]

    A generator of java.time.Instant values inside the specified range: [min, max].

    A generator of java.time.Instant values inside the specified range: [min, max]. Shrinks toward min.

  15. final def instant(implicit trace: ZTraceElement): Gen[Random, Instant]

    A generator of java.time.Instant values.

    A generator of java.time.Instant values. Shrinks toward Instant.MIN.

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def localDate(implicit trace: ZTraceElement): Gen[Random, LocalDate]

    A generator of java.time.LocalDate values.

    A generator of java.time.LocalDate values. Shrinks toward LocalDate.MIN.

  18. final def localDateTime(min: LocalDateTime, max: LocalDateTime)(implicit trace: ZTraceElement): Gen[Random, LocalDateTime]

    A generator of java.time.LocalDateTime values inside the specified range: [min, max].

    A generator of java.time.LocalDateTime values inside the specified range: [min, max]. Shrinks toward min.

  19. final def localDateTime(implicit trace: ZTraceElement): Gen[Random, LocalDateTime]

    A generator of java.time.LocalDateTime values.

    A generator of java.time.LocalDateTime values. Shrinks toward LocalDateTime.MIN.

  20. final def localTime(implicit trace: ZTraceElement): Gen[Random, LocalTime]

    A generator of java.time.LocalTime values.

    A generator of java.time.LocalTime values. Shrinks toward LocalTime.MIN.

  21. final def month(implicit trace: ZTraceElement): Gen[Random, Month]

    A generator of java.time.Month values.

    A generator of java.time.Month values. Shrinks toward Month.JANUARY.

  22. final def monthDay(implicit trace: ZTraceElement): Gen[Random, MonthDay]

    A generator of java.time.MonthDay values.

    A generator of java.time.MonthDay values. Shrinks toward MonthDay.of(Month.JANUARY, 1).

  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def offsetDateTime(min: OffsetDateTime, max: OffsetDateTime)(implicit trace: ZTraceElement): Gen[Random, OffsetDateTime]

    A generator of java.time.OffsetDateTime values inside the specified range: [min, max].

    A generator of java.time.OffsetDateTime values inside the specified range: [min, max]. Shrinks toward min.

  27. final def offsetDateTime(implicit trace: ZTraceElement): Gen[Random, OffsetDateTime]

    A generator of java.time.OffsetDateTime values.

    A generator of java.time.OffsetDateTime values. Shrinks toward OffsetDateTime.MIN.

  28. final def offsetTime(implicit trace: ZTraceElement): Gen[Random, OffsetTime]

    A generator of java.time.OffsetTime values.

    A generator of java.time.OffsetTime values. Shrinks torward OffsetTime.MIN.

  29. final def period(implicit trace: ZTraceElement): Gen[Random, Period]

    A generator of java.time.Period values.

    A generator of java.time.Period values. Shrinks toward Period.ZERO.

  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def year(implicit trace: ZTraceElement): Gen[Random, Year]

    A generator of java.time.Year values.

    A generator of java.time.Year values. Shrinks toward Year.of(Year.MIN_VALUE).

  36. final def yearMonth(implicit trace: ZTraceElement): Gen[Random, YearMonth]

    A generator of java.time.YearMonth values.

    A generator of java.time.YearMonth values. Shrinks toward YearMonth.of(Year.MIN_VALUE, Month.JANUARY).

  37. final def zoneId(implicit trace: ZTraceElement): Gen[Random, ZoneId]

    A generator of java.time.ZoneId values.

    A generator of java.time.ZoneId values. Doesn't have any shrinking.

    Annotations
    @silent("JavaConverters")
  38. final def zoneOffset(implicit trace: ZTraceElement): Gen[Random, ZoneOffset]

    A generator of java.time.ZoneOffset values.

    A generator of java.time.ZoneOffset values. Shrinks toward ZoneOffset.MIN.

  39. final def zonedDateTime(implicit trace: ZTraceElement): Gen[Random, ZonedDateTime]

    A generator of java.time.ZonedDateTime values.

    A generator of java.time.ZonedDateTime values. Shrinks toward ZoneDateTime.of(LocalDateTime.MIN, zoneId).

Deprecated Value Members

  1. final def anyDayOfWeek(implicit trace: ZTraceElement): Gen[Random, DayOfWeek]

    A generator of java.time.DayOfWeek values.

    A generator of java.time.DayOfWeek values. Shrinks toward DayOfWeek.MONDAY.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use dayOfWeek

  2. final def anyFiniteDuration(implicit trace: ZTraceElement): Gen[Random, zio.Duration]

    A generator of finite zio.duration.Duration values.

    A generator of finite zio.duration.Duration values. Shrinks toward Duration.Zero.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use finiteDuration

  3. final def anyInstant(implicit trace: ZTraceElement): Gen[Random, Instant]

    A generator of java.time.Instant values.

    A generator of java.time.Instant values. Shrinks toward Instant.MIN.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use instant

  4. final def anyLocalDate(implicit trace: ZTraceElement): Gen[Random, LocalDate]

    A generator of java.time.LocalDate values.

    A generator of java.time.LocalDate values. Shrinks toward LocalDate.MIN.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use localDate

  5. final def anyLocalDateTime(implicit trace: ZTraceElement): Gen[Random, LocalDateTime]

    A generator of java.time.LocalDateTime values.

    A generator of java.time.LocalDateTime values. Shrinks toward LocalDateTime.MIN.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use localDateTime

  6. final def anyLocalTime(implicit trace: ZTraceElement): Gen[Random, LocalTime]

    A generator of java.time.LocalTime values.

    A generator of java.time.LocalTime values. Shrinks toward LocalTime.MIN.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use localTime

  7. final def anyMonth(implicit trace: ZTraceElement): Gen[Random, Month]

    A generator of java.time.Month values.

    A generator of java.time.Month values. Shrinks toward Month.JANUARY.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use month

  8. final def anyMonthDay(implicit trace: ZTraceElement): Gen[Random, MonthDay]

    A generator of java.time.MonthDay values.

    A generator of java.time.MonthDay values. Shrinks toward MonthDay.of(Month.JANUARY, 1).

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use monthDay

  9. final def anyOffsetDateTime(implicit trace: ZTraceElement): Gen[Random, OffsetDateTime]

    A generator of java.time.OffsetDateTime values.

    A generator of java.time.OffsetDateTime values. Shrinks toward OffsetDateTime.MIN.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use offsetDateTime

  10. final def anyOffsetTime(implicit trace: ZTraceElement): Gen[Random, OffsetTime]

    A generator of java.time.OffsetTime values.

    A generator of java.time.OffsetTime values. Shrinks torward OffsetTime.MIN.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use offsetTime

  11. final def anyPeriod(implicit trace: ZTraceElement): Gen[Random, Period]

    A generator of java.time.Period values.

    A generator of java.time.Period values. Shrinks toward Period.ZERO.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use period

  12. final def anyYear(implicit trace: ZTraceElement): Gen[Random, Year]

    A generator of java.time.Year values.

    A generator of java.time.Year values. Shrinks toward Year.of(Year.MIN_VALUE).

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use year

  13. final def anyYearMonth(implicit trace: ZTraceElement): Gen[Random, YearMonth]

    A generator of java.time.YearMonth values.

    A generator of java.time.YearMonth values. Shrinks toward YearMonth.of(Year.MIN_VALUE, Month.JANUARY).

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use yearMonth

  14. final def anyZoneId(implicit trace: ZTraceElement): Gen[Random, ZoneId]

    A generator of java.time.ZoneId values.

    A generator of java.time.ZoneId values. Doesn't have any shrinking.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zoneId

  15. final def anyZoneOffset(implicit trace: ZTraceElement): Gen[Random, ZoneOffset]

    A generator of java.time.ZoneOffset values.

    A generator of java.time.ZoneOffset values. Shrinks toward ZoneOffset.MIN.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zoneOffset

  16. final def anyZonedDateTime(implicit trace: ZTraceElement): Gen[Random, ZonedDateTime]

    A generator of java.time.ZonedDateTime values.

    A generator of java.time.ZonedDateTime values. Shrinks toward ZoneDateTime.of(LocalDateTime.MIN, zoneId).

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use zonedDateTime

Inherited from AnyRef

Inherited from Any

Ungrouped