Package com.groiss.reporting.data
Interface TimeModel
- All Known Implementing Classes:
TimeInterval
public interface TimeModel
This interface must be supported if another calculation of time intervals is desired
Note: a implementing class must support a constructor without parameters
Note: a implementing class must support a constructor without parameters
-
Method Summary
Modifier and TypeMethodDescriptionlong
getInterval
(Date start, Date end) calculates the time intervalreturns the Name of the Model for HTML purpose
-
Method Details
-
getInterval
calculates the time interval- Parameters:
start
- the start date of the intervalend
- the end date of the interval- Returns:
- the calculated interval im milliseconds
-
getModelName
String getModelName()returns the Name of the Model for HTML purpose- Returns:
- the I18N string represent of this timemodel
-