com.metamx.common.scala.timekeeper
Timekeepers are a more testable alternative to DateTime.now or new DateTime(). Most applications will use SystemTimekeeper in production and TestingTimekeeper in time-sensitive unit tests.
DateTime.now
new DateTime()
Timekeepers are a more testable alternative to
DateTime.now
ornew DateTime()
. Most applications will use SystemTimekeeper in production and TestingTimekeeper in time-sensitive unit tests.