DESY ACOP Beans Home

com.cosylab.util
Interface TimeProvider

All Known Implementing Classes:
DefaultTimeProvider, MockTimeProvider

public interface TimeProvider

Interface implemented by providers of current time. This abstraction is required to allow injection of a time provider in unit tests that are time dependent.

Author:
Klemen Zagar, Cosylab

Method Summary
 long getTimeInMillis()
           
 

Method Detail

getTimeInMillis

long getTimeInMillis()


Copyright © 2010. All Rights Reserved.