All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.criteo.slab.core.Context.scala Maven / Gradle / Ivy

There is a newer version: 0.4.14
Show newest version
package com.criteo.slab.core

import java.time.Instant

/** Represents the context when a check occurs
  *
  * @param when The datetime when it occurs
  */
case class Context(
                    when: Instant
                  )

object Context {
  def now = Context(Instant.now)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy