dtc
package dtc
- Alphabetic
- By Inheritance
- dtc
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
ControlledTimeProvider
[T] extends Provider[T]
An artificial time provider that is controlled from the outside.
-
trait
Lawless
[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.
-
trait
Local
[A] extends Lawless[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.
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
-
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 Lawless[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 Lawless extends Serializable
- object Local extends Serializable
- object Offset extends Serializable
- object Provider extends Serializable
- object TimeZoneId extends Serializable
- object Zoned extends Serializable