package time
- Alphabetic
- Public
- Protected
Type Members
- trait JavaTime[F[_]] extends AnyRef
This trait is a tagless representation of the ability to extract the present time.
This trait is a tagless representation of the ability to extract the present time.
This algebra has millisecond precision from the Epoch as the default Java Clock only offers millisecond precision. If you need higher accuracy utilize the methods on Clock directly which use the System tools with higher accuracy.
It is implicitly derived from Clock and Functor and these should be readily available either through IOApp, IO.timer or in testing you can have easy access to TestContext in order to manipulate time for replicatable time for tests
- Annotations
- @implicitNotFound()
Value Members
- object JavaTime
This companion object to the JavaTime Algebra
This companion object to the JavaTime Algebra
This contains the summoner for the algebra, along with the implicit instance which is derived from Clock and Functor.
- object implicits
This object contains the syntax enhancements to make more convenient access to JavaTime as methods can be made to appear automatically on Clock rather than needing an explicitly new algebra.