Packages

p

dtc

package dtc

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

Package Members

  1. package instances
  2. package syntax

Type Members

  1. trait Capture[A] extends Serializable

    Provides a way to capture java.time based instant into a value of type A.

    Provides a way to capture java.time based instant into a value of type A.

    Annotations
    @implicitNotFound("Could not find an instance of Capture for ${A}")
  2. class ControlledTimeProvider[T] extends Provider[T]

    An artificial time provider that is controlled from the outside.

  3. trait Local[A] extends TimePoint[A] with Serializable

    A typeclass for local datetime values, that are unaware of DST and offsets.

    A typeclass for local datetime values, that are unaware of DST and offsets. Can be also viewed as UTC time.

    Semantics are similar to java.time.LocalDateTime

    Annotations
    @implicitNotFound("Could not find an instance of Local for ${A}")
  4. final case class Offset(seconds: Int) extends AnyVal with Product with Serializable

    Cross-platform representation for zoned time offset

    Cross-platform representation for zoned time offset

    seconds

    difference from UTC time in seconds

  5. trait Provider[T] extends Serializable

    An abstraction that allows the concept of "current time" to be injected and controlled

    An abstraction that allows the concept of "current time" to be injected and controlled

    Annotations
    @implicitNotFound("Could not find an instance of Provider for ${T}")
  6. trait TimePoint[A] extends Order[A] with Serializable

    Common base type class for any dateTime.

    Common base type class for any dateTime. Doesn't hold any laws, exact behaviour and laws are defined for it's children.

    All the methods follow java.time._ semantics.

    Annotations
    @implicitNotFound("Could not find an instance of TimePoint for ${A}")
  7. final case class TimeZoneId(id: String) extends AnyVal with Product with Serializable

    Cross-platform wrapper for time-zone id values.

    Cross-platform wrapper for time-zone id values.

    id

    raw zone id value

  8. trait Zoned[A] extends TimePoint[A] with Capture[A] with Serializable

    A typeclass for zoned datetime values.

    A typeclass for zoned datetime values. These values are zone aware and follow DST transformation rules.

    Semantics are similar to java.time.ZonedDateTime

    Annotations
    @implicitNotFound("Could not find an instance of Zoned for ${A}")

Value Members

  1. object Capture extends Serializable
  2. object Local extends Serializable
  3. object Offset extends Serializable
  4. object Ordering

    Backward compatibility with 2.12.

    Backward compatibility with 2.12. Deprecated in 2.13

  5. object Provider extends Serializable
  6. object TimePoint extends Serializable
  7. object TimeZoneId extends Serializable
  8. object Zoned extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped