dtc
package dtc
- Alphabetic
- By Inheritance
- dtc
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
Capture[A] extends Serializable
Provides a way to capture
java.time
based instant into a value of type A. -
class
ControlledTimeProvider[T] extends Provider[T]
An artificial time provider that is controlled from the outside.
-
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
-
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
-
trait
Provider[T] extends Serializable
An abstraction that allows the concept of "current time" to be injected and controlled
-
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.
-
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
-
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
Value Members
- object Capture extends Serializable
- object Local extends Serializable
- object Offset extends Serializable
- object Provider extends Serializable
- object TimePoint extends Serializable
- object TimeZoneId extends Serializable
- object Zoned extends Serializable