1 package net.avcompris.commons3.utils; 2 3 import org.joda.time.DateTime; 4 5 /** 6 * We use a “Clock” Bean so we can run tests against session timeouts. 7 * 8 * @author dandriana 9 */ 10 public interface Clock { 11 12 /** 13 * Please serve only UTC DatetTime values 14 */ 15 DateTime now(); 16 17 long nowMs(); 18 }