de.jaret.util.date.timemachine
Interface ITimeProvider

All Known Implementing Classes:
TimeMachine

public interface ITimeProvider

Interface describing somthing that provides a timestamp.

Version:
$Id: ITimeProvider.java 702 2007-12-30 11:54:55Z kliem $
Author:
kliem

Method Summary
 Date getCurentTimeAsDate()
          Retrieve the current time as a Date object.
 long getCurrentTime()
          Retrieve the current time.
 

Method Detail

getCurrentTime

long getCurrentTime()
Retrieve the current time.

Returns:
current time as millis.

getCurentTimeAsDate

Date getCurentTimeAsDate()
Retrieve the current time as a Date object.

Returns:
current time as java.util.Date


Copyright © 2013. All Rights Reserved.